Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001125/0.001125, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.001238/0.001238, allocations: 189.5 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002172/0.002172, allocations: 292.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.962/0.962, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 99.84 kB / 0.6821 GB, free: 7.02 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4562, allocations: 86.98 MB / 0.7671 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.005406/0.4616, allocations: 3.253 MB / 0.7702 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.465, allocations: 1.862 MB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.4653, allocations: 7.938 kB / 0.7721 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.4665, allocations: 294.8 kB / 0.7723 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006158/0.4671, allocations: 211 kB / 0.7725 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008483/0.4679, allocations: 303.3 kB / 0.7728 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007075/0.4687, allocations: 398.8 kB / 0.7732 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.4692, allocations: 204 kB / 0.7734 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003476/0.4695, allocations: 163.4 kB / 0.7736 GB, free: 13.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.47, allocations: 199.3 kB / 0.7737 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.4701, allocations: 24 kB / 0.7738 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.4706, allocations: 235.5 kB / 0.774 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.4707, allocations: 115.7 kB / 0.7741 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.471, allocations: 155.2 kB / 0.7743 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006966/0.4717, allocations: 469.1 kB / 0.7747 GB, free: 12.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4717, allocations: 4 kB / 0.7747 GB, free: 12.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4717, allocations: 0 / 0.7747 GB, free: 12.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.4717, allocations: 0 / 0.7747 GB, free: 12.13 MB / 0.545 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.001254/0.473, allocations: 0.5888 MB / 0.7753 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.473, allocations: 8.031 kB / 0.7753 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008109/0.4738, allocations: 96.45 kB / 0.7754 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005034/0.4744, allocations: 290.2 kB / 0.7757 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.4744, allocations: 24.92 kB / 0.7757 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.4745, allocations: 28.75 kB / 0.7757 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007008/0.4752, allocations: 445.1 kB / 0.7761 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4753, allocations: 0 / 0.7761 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.4753, allocations: 15.98 kB / 0.7761 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001507/0.4755, allocations: 44.45 kB / 0.7762 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005612/0.476, allocations: 346 kB / 0.7765 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.4787, allocations: 2.199 MB / 0.7787 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.4791, allocations: 266.4 kB / 0.7789 GB, free: 7.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.4794, allocations: 156.8 kB / 0.7791 GB, free: 7.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4794, allocations: 4 kB / 0.7791 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4794, allocations: 38.56 kB / 0.7791 GB, free: 7.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.783e-06/0.4794, allocations: 0 / 0.7791 GB, free: 7.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.002106/0.4815, allocations: 1.05 MB / 0.7801 GB, free: 6.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.4816, allocations: 63.27 kB / 0.7802 GB, free: 6.086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.4819, allocations: 244.9 kB / 0.7804 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.4819, allocations: 29.7 kB / 0.7805 GB, free: 5.809 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.4821, allocations: 195.8 kB / 0.7806 GB, free: 5.613 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4822, allocations: 86.75 kB / 0.7807 GB, free: 5.527 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.4824, allocations: 81.48 kB / 0.7808 GB, free: 5.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.4825, allocations: 338.8 kB / 0.7811 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.4828, allocations: 151.9 kB / 0.7813 GB, free: 4.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.4831, allocations: 229.6 kB / 0.7815 GB, free: 4.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.4837, allocations: 398.9 kB / 0.7819 GB, free: 4.27 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4837, allocations: 4 kB / 0.7819 GB, free: 4.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001201/0.4849, allocations: 0.5898 MB / 0.7825 GB, free: 3.668 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4849, allocations: 4.312 kB / 0.7825 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.485, allocations: 8 kB / 0.7825 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.4857, allocations: 192.6 kB / 0.7826 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.486, allocations: 63.89 kB / 0.7827 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.489, allocations: 2.483 MB / 0.7851 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.4893, allocations: 28.02 kB / 0.7852 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.058e-05/0.4894, allocations: 12.11 kB / 0.7852 GB, free: 0.7383 MB / 0.545 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.0001955/0.4896, allocations: 169.7 kB / 0.7853 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.782e-05/0.4896, allocations: 31.64 kB / 0.7854 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/0.4902, allocations: 358.6 kB / 0.7857 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4903, allocations: 0 / 0.7857 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4903, allocations: 0 / 0.7857 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4904, allocations: 120.9 kB / 0.7858 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.4905, allocations: 15.98 kB / 0.7858 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.4907, allocations: 11.98 kB / 0.7858 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4908, allocations: 15.84 kB / 0.7859 GB, free: 0 / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/0.4918, allocations: 0.4926 MB / 0.7863 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008092/0.4926, allocations: 0.6915 MB / 0.787 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000202/0.4928, allocations: 153 kB / 0.7872 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001832/0.493, allocations: 180.5 kB / 0.7873 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Backend: time 8.91e-07/0.493, allocations: 0 / 0.7873 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.4945, allocations: 0.6101 MB / 0.7879 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001478/0.496, allocations: 1.181 MB / 0.7891 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.01151/0.5075, allocations: 5.833 MB / 0.7948 GB, free: 6.801 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)