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.66/2.66, allocations: 287.3 MB / 302.3 MB, free: 8.414 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.001631/0.00163, allocations: 186.9 kB / 370.8 MB, free: 10.89 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.182/2.182, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001176/0.001175, allocations: 98.94 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006525/0.0006526, allocations: 11.86 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2293, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.24, allocations: 168.1 MB / 1.142 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/1.241, allocations: 107.8 kB / 1.143 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07688/1.318, allocations: 19.35 MB / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.914e-06/1.318, allocations: 0 / 1.161 GB, free: 14.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.037e-05/1.318, allocations: 8 kB / 1.161 GB, free: 14.7 MB / 0.698 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.00147/1.319, allocations: 0.5728 MB / 1.162 GB, free: 14.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/1.319, allocations: 16.02 kB / 1.162 GB, free: 14.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/1.319, allocations: 65.98 kB / 1.162 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/1.321, allocations: 107.5 kB / 1.162 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/1.322, allocations: 283 kB / 1.162 GB, free: 13.62 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/1.322, allocations: 19.69 kB / 1.163 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/1.322, allocations: 31.08 kB / 1.163 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/1.323, allocations: 433.2 kB / 1.163 GB, free: 13.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/1.323, allocations: 11.92 kB / 1.163 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/1.323, allocations: 3.812 kB / 1.163 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.777e-05/1.323, allocations: 27.86 kB / 1.163 GB, free: 13.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000923/1.324, allocations: 350.4 kB / 1.163 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/1.328, allocations: 2.206 MB / 1.165 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/1.329, allocations: 262.9 kB / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/1.329, allocations: 192 / 1.166 GB, free: 10.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/1.329, allocations: 38.31 kB / 1.166 GB, free: 10.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/1.329, allocations: 4 kB / 1.166 GB, free: 10.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.00313/1.332, allocations: 1.054 MB / 1.167 GB, free: 9.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/1.332, allocations: 55.34 kB / 1.167 GB, free: 9.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003932/1.333, allocations: 223.8 kB / 1.167 GB, free: 9.426 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/1.333, allocations: 29.14 kB / 1.167 GB, free: 9.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/1.333, allocations: 186.3 kB / 1.167 GB, free: 9.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/1.333, allocations: 91.55 kB / 1.167 GB, free: 9.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/1.333, allocations: 6.062 kB / 1.167 GB, free: 9.152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001913/1.333, allocations: 341.1 kB / 1.168 GB, free: 8.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/1.334, allocations: 141.9 kB / 1.168 GB, free: 8.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/1.334, allocations: 230.2 kB / 1.168 GB, free: 8.527 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/1.335, allocations: 193.2 kB / 1.168 GB, free: 8.41 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.335, allocations: 0 / 1.168 GB, free: 8.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001822/1.337, allocations: 0.5706 MB / 1.169 GB, free: 7.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/1.337, allocations: 7.984 kB / 1.169 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.337, allocations: 4 kB / 1.169 GB, free: 7.969 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/1.338, allocations: 191.3 kB / 1.169 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.339, allocations: 59.66 kB / 1.169 GB, free: 7.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004627/1.343, allocations: 2.333 MB / 1.171 GB, free: 5.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/1.344, allocations: 22.23 kB / 1.171 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/1.344, allocations: 19.98 kB / 1.171 GB, free: 5.645 MB / 0.698 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 () * Number of clocked 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.0003131/1.344, allocations: 160 kB / 1.172 GB, free: 5.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/1.344, allocations: 23.72 kB / 1.172 GB, free: 5.477 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00094/1.345, allocations: 360.9 kB / 1.172 GB, free: 5.227 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.345, allocations: 11.94 kB / 1.172 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.345, allocations: 0 / 1.172 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.345, allocations: 0 / 1.172 GB, free: 5.215 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.347, allocations: 0.803 MB / 1.173 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/1.347, allocations: 0 / 1.173 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007632/1.348, allocations: 79.83 kB / 1.173 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.348, allocations: 0 / 1.173 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/1.348, allocations: 7.062 kB / 1.173 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.348, allocations: 0 / 1.173 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.348, allocations: 4 kB / 1.173 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/1.35, allocations: 0.6381 MB / 1.173 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.35, allocations: 123.8 kB / 1.174 GB, free: 3.793 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/1.35, allocations: 7.125 kB / 1.174 GB, free: 3.789 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/1.35, allocations: 19.23 kB / 1.174 GB, free: 3.773 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/1.35, allocations: 11.97 kB / 1.174 GB, free: 3.762 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/1.35, allocations: 15.75 kB / 1.174 GB, free: 3.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003118/1.351, allocations: 176.7 kB / 1.174 GB, free: 3.602 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.351, allocations: 0 / 1.174 GB, free: 3.602 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000684/1.351, allocations: 102.5 kB / 1.174 GB, free: 3.512 MB / 0.698 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 () * Number of clocked 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.001825/1.353, allocations: 1.333 MB / 1.175 GB, free: 2.305 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.355, allocations: 0.5224 MB / 1.176 GB, free: 1.891 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/1.355, allocations: 0 / 1.176 GB, free: 1.891 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/1.355, allocations: 157 kB / 1.176 GB, free: 1.781 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/1.356, allocations: 51.22 kB / 1.176 GB, free: 1.742 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/1.363, allocations: 3.763 MB / 1.18 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006012/1.363, allocations: 0.8016 MB / 1.18 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000476/1.364, allocations: 74.92 kB / 1.18 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/1.364, allocations: 84.34 kB / 1.18 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of SimCode: time 1.102e-06/1.364, allocations: 0 / 1.18 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/1.399, allocations: 6.265 MB / 1.187 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003381/1.399, allocations: 213.3 kB / 1.187 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/4.011, allocations: 0 / 1.187 GB, free: 6.984 MB / 0.7136 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)