Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.54/2.54, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.00233/0.00233, allocations: 184.9 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001473/0.001473, allocations: 97.55 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.645e-05, allocations: 4 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.8945, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/1.2, allocations: 167.4 MB / 1.127 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003695/1.2, allocations: 95.03 kB / 1.127 GB, free: 4.922 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.08276/1.283, allocations: 19.16 MB / 1.146 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/1.283, allocations: 0 / 1.146 GB, free: 1.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.334e-05/1.283, allocations: 12 kB / 1.146 GB, free: 1.68 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001403/1.285, allocations: 0.5566 MB / 1.146 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.285, allocations: 8.031 kB / 1.146 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/1.286, allocations: 108.7 kB / 1.146 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/1.287, allocations: 283.8 kB / 1.147 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/1.287, allocations: 8 kB / 1.147 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/1.287, allocations: 16 kB / 1.147 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007718/1.288, allocations: 253 kB / 1.147 GB, free: 384 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/1.289, allocations: 388.3 kB / 1.147 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.289, allocations: 7.938 kB / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/1.289, allocations: 0 / 1.147 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.02e-05/1.289, allocations: 28.5 kB / 1.147 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004018/1.293, allocations: 2.153 MB / 1.149 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/1.294, allocations: 250.8 kB / 1.15 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/1.294, allocations: 153.2 kB / 1.15 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/1.294, allocations: 192 / 1.15 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.294, allocations: 42.75 kB / 1.15 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/1.294, allocations: 0 / 1.15 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23): time 0.002029/1.296, allocations: 0.7781 MB / 1.151 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/1.296, allocations: 51.41 kB / 1.151 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/1.297, allocations: 198.1 kB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/1.297, allocations: 25.7 kB / 1.151 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/1.297, allocations: 184.2 kB / 1.151 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/1.297, allocations: 90.75 kB / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/1.297, allocations: 0 / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001774/1.297, allocations: 338.8 kB / 1.151 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/1.298, allocations: 139.9 kB / 1.152 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/1.298, allocations: 224.1 kB / 1.152 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005712/1.299, allocations: 178.7 kB / 1.152 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.299, allocations: 0 / 1.152 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001779/1.301, allocations: 0.5406 MB / 1.152 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.301, allocations: 5.094 kB / 1.152 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/1.301, allocations: 4 kB / 1.152 GB, free: 10.28 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/1.302, allocations: 175.1 kB / 1.153 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005553/1.302, allocations: 67.89 kB / 1.153 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004249/1.307, allocations: 2.197 MB / 1.155 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/1.307, allocations: 11.98 kB / 1.155 GB, free: 7.727 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.332e-05/1.307, allocations: 8 kB / 1.155 GB, free: 7.719 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001678/1.307, allocations: 127 kB / 1.155 GB, free: 7.59 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007669/1.308, allocations: 305.1 kB / 1.155 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.057e-05/1.308, allocations: 19.81 kB / 1.155 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008217/1.309, allocations: 329.1 kB / 1.156 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.309, allocations: 7.953 kB / 1.156 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.309, allocations: 0 / 1.156 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.309, allocations: 0 / 1.156 GB, free: 6.934 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/1.311, allocations: 0.7375 MB / 1.156 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.311, allocations: 4.062 kB / 1.156 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/1.312, allocations: 75.88 kB / 1.156 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/1.312, allocations: 7.953 kB / 1.156 GB, free: 6.062 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/1.312, allocations: 3.984 kB / 1.156 GB, free: 6.059 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.312, allocations: 4 kB / 1.156 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.312, allocations: 0 / 1.156 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/1.313, allocations: 0.6026 MB / 1.157 GB, free: 5.418 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/1.313, allocations: 128.8 kB / 1.157 GB, free: 5.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/1.313, allocations: 5.188 kB / 1.157 GB, free: 5.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/1.314, allocations: 7.984 kB / 1.157 GB, free: 5.262 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.044e-05/1.314, allocations: 11.98 kB / 1.157 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.534e-05/1.314, allocations: 13.39 kB / 1.157 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002541/1.314, allocations: 160.1 kB / 1.157 GB, free: 5.082 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.31e-07/1.314, allocations: 4 kB / 1.157 GB, free: 5.078 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007506/1.315, allocations: 88 kB / 1.157 GB, free: 4.992 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001977/1.317, allocations: 1.3 MB / 1.159 GB, free: 3.652 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00153/1.319, allocations: 494 kB / 1.159 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.319, allocations: 0 / 1.159 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003659/1.319, allocations: 144.4 kB / 1.159 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/1.32, allocations: 44.61 kB / 1.159 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/1.323, allocations: 0.7813 MB / 1.16 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/1.323, allocations: 0.7995 MB / 1.161 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004543/1.324, allocations: 69.61 kB / 1.161 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/1.324, allocations: 87.41 kB / 1.161 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of SimCode: time 1.342e-06/1.324, allocations: 0 / 1.161 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/1.369, allocations: 5.615 MB / 1.167 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/1.369, allocations: 158.3 kB / 1.167 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/4.09, allocations: 2.531 kB / 1.167 GB, free: 11.48 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)