Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.832/1.832, allocations: 285.6 MB / 293.1 MB, free: 10.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 176.8 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008417/0.0008417, allocations: 91 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.537e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9228, allocations: 115.3 MB / 0.9645 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2682/1.191, allocations: 153.1 MB / 1.114 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/1.192, allocations: 93.38 kB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1047/1.296, allocations: 29.35 MB / 1.143 GB, free: 5.047 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.502e-06/1.296, allocations: 4 kB / 1.143 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.632e-05/1.296, allocations: 19.98 kB / 1.143 GB, free: 5.023 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001693/1.298, allocations: 0.775 MB / 1.143 GB, free: 4.203 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.298, allocations: 8.031 kB / 1.143 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/1.3, allocations: 210.3 kB / 1.144 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/1.301, allocations: 490.5 kB / 1.144 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/1.301, allocations: 16 kB / 1.144 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/1.302, allocations: 24 kB / 1.144 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/1.303, allocations: 418.5 kB / 1.145 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.304, allocations: 0.8554 MB / 1.145 GB, free: 1.992 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/1.304, allocations: 7.938 kB / 1.145 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/1.304, allocations: 4 kB / 1.145 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/1.305, allocations: 52.73 kB / 1.145 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/1.311, allocations: 5.551 MB / 1.151 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/1.312, allocations: 435.1 kB / 1.151 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/1.312, allocations: 213.3 kB / 1.152 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/1.312, allocations: 4 kB / 1.152 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/1.312, allocations: 42.55 kB / 1.152 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 3.426e-06/1.312, allocations: 0 / 1.152 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002266/1.315, allocations: 0.7929 MB / 1.152 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/1.315, allocations: 59.41 kB / 1.152 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005298/1.315, allocations: 349.3 kB / 1.153 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/1.315, allocations: 29.7 kB / 1.153 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/1.315, allocations: 343.5 kB / 1.153 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/1.316, allocations: 118.3 kB / 1.153 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/1.316, allocations: 0 / 1.153 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.316, allocations: 362.7 kB / 1.154 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003841/1.316, allocations: 177.1 kB / 1.154 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005406/1.317, allocations: 392.5 kB / 1.154 GB, free: 8.547 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/1.317, allocations: 235.7 kB / 1.154 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.317, allocations: 0 / 1.154 GB, free: 8.316 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001553/1.319, allocations: 0.6965 MB / 1.155 GB, free: 7.598 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.319, allocations: 8 kB / 1.155 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.728e-05/1.319, allocations: 11.94 kB / 1.155 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004782/1.32, allocations: 152.5 kB / 1.155 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/1.32, allocations: 111.8 kB / 1.155 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/1.323, allocations: 3.875 MB / 1.159 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005121/1.323, allocations: 24.22 kB / 1.159 GB, free: 3.066 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/1.324, allocations: 28 kB / 1.159 GB, free: 3.039 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/1.324, allocations: 120.8 kB / 1.159 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008452/1.325, allocations: 0.5255 MB / 1.16 GB, free: 2.367 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/1.325, allocations: 55.34 kB / 1.16 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009619/1.326, allocations: 0.5619 MB / 1.16 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/1.326, allocations: 4 kB / 1.16 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.326, allocations: 0 / 1.16 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.326, allocations: 0 / 1.16 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/1.327, allocations: 1.155 MB / 1.161 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.327, allocations: 4 kB / 1.161 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/1.328, allocations: 52.11 kB / 1.162 GB, free: 444 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/1.328, allocations: 140.2 kB / 1.162 GB, free: 288 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/1.328, allocations: 7.312 kB / 1.162 GB, free: 284 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003045/1.331, allocations: 3.865 MB / 1.165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.331, allocations: 4.031 kB / 1.165 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/1.332, allocations: 0.7468 MB / 1.166 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/1.332, allocations: 172.3 kB / 1.166 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/1.333, allocations: 0 / 1.166 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/1.333, allocations: 19.97 kB / 1.166 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/1.333, allocations: 31.92 kB / 1.166 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/1.333, allocations: 10.12 kB / 1.166 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002625/1.333, allocations: 263 kB / 1.167 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.21e-07/1.333, allocations: 0 / 1.167 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006823/1.334, allocations: 132 kB / 1.167 GB, free: 10.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/1.335, allocations: 1.781 MB / 1.169 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001276/1.337, allocations: 0.9564 MB / 1.169 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.337, allocations: 4.125 kB / 1.169 GB, free: 7.688 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007465/1.337, allocations: 0.7041 MB / 1.17 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/1.338, allocations: 172.5 kB / 1.17 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/1.34, allocations: 0.8305 MB / 1.171 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/1.34, allocations: 0.9217 MB / 1.172 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003336/1.341, allocations: 103.2 kB / 1.172 GB, free: 4.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.341, allocations: 192.1 kB / 1.172 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/1.341, allocations: 0 / 1.172 GB, free: 4.625 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03036/1.371, allocations: 10.63 MB / 1.183 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/1.372, allocations: 160.1 kB / 1.183 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.572, allocations: 0 / 1.183 GB, free: 10.05 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)