Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 115.1 kB / 16.37 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 188 kB / 17.3 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.778/1.778, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 64.69 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2286, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.4317/0.6603, allocations: 3.252 MB / 0.788 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003374/0.6638, allocations: 1.868 MB / 0.7898 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.664, allocations: 6.812 kB / 0.7898 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.665, allocations: 290.5 kB / 0.7901 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005014/0.6655, allocations: 209.5 kB / 0.7903 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007539/0.6663, allocations: 286.5 kB / 0.7906 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.6667, allocations: 412.3 kB / 0.7909 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.6671, allocations: 207.2 kB / 0.7911 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.6673, allocations: 161.7 kB / 0.7913 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003544/0.6677, allocations: 199.7 kB / 0.7915 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.6677, allocations: 23.62 kB / 0.7915 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000401/0.6681, allocations: 236 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.6683, allocations: 119.8 kB / 0.7919 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.6684, allocations: 141.6 kB / 0.792 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005129/0.6689, allocations: 476.2 kB / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6689, allocations: 0 / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.669, allocations: 0 / 0.7924 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.669, allocations: 0.625 kB / 0.7924 GB, free: 46.41 MB / 0.6544 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.001044/0.67, allocations: 0.5907 MB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.6701, allocations: 11.5 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000738/0.6708, allocations: 97.5 kB / 0.7931 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.6712, allocations: 290.5 kB / 0.7934 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.6712, allocations: 15.66 kB / 0.7934 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/0.6713, allocations: 43.19 kB / 0.7935 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.6719, allocations: 442 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.6719, allocations: 5.156 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.6719, allocations: 11.36 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.6721, allocations: 41.3 kB / 0.7939 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.6726, allocations: 352 kB / 0.7943 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.6746, allocations: 2.196 MB / 0.7964 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.675, allocations: 266.1 kB / 0.7967 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.6752, allocations: 158.5 kB / 0.7968 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.6752, allocations: 6.031 kB / 0.7968 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.6753, allocations: 34.44 kB / 0.7969 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=22): time 2.074e-06/0.6753, allocations: 0 / 0.7969 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.00172/0.677, allocations: 1.057 MB / 0.7979 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.677, allocations: 58.31 kB / 0.7979 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.6773, allocations: 252.1 kB / 0.7982 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6774, allocations: 33.02 kB / 0.7982 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.6775, allocations: 185.9 kB / 0.7984 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.6775, allocations: 82.23 kB / 0.7985 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.6777, allocations: 75.92 kB / 0.7985 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.6778, allocations: 339.1 kB / 0.7989 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.678, allocations: 149.7 kB / 0.799 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.6783, allocations: 238 kB / 0.7992 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00048/0.6788, allocations: 404.4 kB / 0.7996 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6788, allocations: 2.094 kB / 0.7996 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001038/0.6798, allocations: 0.5895 MB / 0.8002 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/0.6799, allocations: 8.406 kB / 0.8002 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6799, allocations: 4.438 kB / 0.8002 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007791/0.6807, allocations: 192.6 kB / 0.8004 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.681, allocations: 59.22 kB / 0.8005 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/0.6842, allocations: 2.491 MB / 0.8029 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.6845, allocations: 17.77 kB / 0.8029 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.6846, allocations: 15.94 kB / 0.8029 GB, free: 40.49 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.6848, allocations: 166.3 kB / 0.8031 GB, free: 40.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.6848, allocations: 29 kB / 0.8031 GB, free: 40.34 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.6855, allocations: 358.1 kB / 0.8034 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6855, allocations: 0 / 0.8034 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.6855, allocations: 8.531 kB / 0.8035 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6855, allocations: 1.406 kB / 0.8035 GB, free: 40.18 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.6867, allocations: 0.8087 MB / 0.8042 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6867, allocations: 1.281 kB / 0.8042 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.6872, allocations: 76.61 kB / 0.8043 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.6872, allocations: 3.125 kB / 0.8043 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.6872, allocations: 7.062 kB / 0.8043 GB, free: 39.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6872, allocations: 6.562 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6872, allocations: 3.484 kB / 0.8043 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.6881, allocations: 0.608 MB / 0.8049 GB, free: 39.35 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.6882, allocations: 125.8 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.6883, allocations: 7.812 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.6885, allocations: 13.7 kB / 0.8051 GB, free: 39.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.6886, allocations: 19.78 kB / 0.8051 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.6886, allocations: 9.312 kB / 0.8051 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002041/0.6888, allocations: 181.9 kB / 0.8053 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6888, allocations: 3.062 kB / 0.8053 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004834/0.6893, allocations: 87.44 kB / 0.8054 GB, free: 39.09 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000185/0.6895, allocations: 108.2 kB / 0.8055 GB, free: 39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.6906, allocations: 0.5359 MB / 0.806 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6906, allocations: 0 / 0.806 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.6909, allocations: 147.1 kB / 0.8061 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/0.6914, allocations: 66.61 kB / 0.8062 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.693, allocations: 0.8616 MB / 0.807 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.6934, allocations: 0.8008 MB / 0.8078 GB, free: 37.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.6935, allocations: 26.34 kB / 0.8078 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of SimCode: time 4.41e-07/0.6935, allocations: 0.75 kB / 0.8078 GB, free: 37.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.01056/0.7041, allocations: 4.426 MB / 0.8122 GB, free: 37.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)