Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.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.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 113.6 kB / 16.42 MB, free: 6.492 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.001436/0.001436, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.365/1.365, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003051/0.003051, allocations: 293.2 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.9788/0.9788, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 99.86 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4401, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.005843/0.446, allocations: 4.091 MB / 0.771 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.4487, allocations: 1.589 MB / 0.7726 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.4489, allocations: 8 kB / 0.7726 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.4507, allocations: 0.5857 MB / 0.7732 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004655/0.4511, allocations: 230.9 kB / 0.7734 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.4517, allocations: 215.6 kB / 0.7736 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.4523, allocations: 0.5452 MB / 0.7741 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007738/0.4531, allocations: 465.8 kB / 0.7746 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.4534, allocations: 231.3 kB / 0.7748 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.4538, allocations: 259 kB / 0.775 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.539e-05/0.4539, allocations: 36 kB / 0.7751 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.4542, allocations: 167.7 kB / 0.7752 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.4544, allocations: 147.6 kB / 0.7754 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.4546, allocations: 203.1 kB / 0.7756 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.4553, allocations: 0.5281 MB / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4553, allocations: 0 / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4553, allocations: 0 / 0.7761 GB, free: 10.64 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4553, allocations: 0 / 0.7761 GB, free: 10.64 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00121/0.4565, allocations: 0.6787 MB / 0.7768 GB, free: 9.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4566, allocations: 12.03 kB / 0.7768 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007004/0.4573, allocations: 108.3 kB / 0.7769 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.4577, allocations: 299.7 kB / 0.7772 GB, free: 9.461 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.527e-05/0.4578, allocations: 55.27 kB / 0.7772 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.4578, allocations: 40.36 kB / 0.7772 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009094/0.4588, allocations: 0.497 MB / 0.7777 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.4588, allocations: 3.984 kB / 0.7777 GB, free: 8.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.4588, allocations: 19.98 kB / 0.7778 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.4589, allocations: 32.98 kB / 0.7778 GB, free: 8.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000707/0.4596, allocations: 371.7 kB / 0.7781 GB, free: 8.426 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.4621, allocations: 2.2 MB / 0.7803 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.4628, allocations: 270.5 kB / 0.7805 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003407/0.4632, allocations: 148.8 kB / 0.7807 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.4632, allocations: 0 / 0.7807 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.4633, allocations: 38.56 kB / 0.7807 GB, free: 5.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.4633, allocations: 0 / 0.7807 GB, free: 5.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001562/0.4648, allocations: 0.5735 MB / 0.7813 GB, free: 4.906 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4649, allocations: 51.41 kB / 0.7813 GB, free: 4.844 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4651, allocations: 229 kB / 0.7815 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.4651, allocations: 29.7 kB / 0.7816 GB, free: 4.582 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.4653, allocations: 207.6 kB / 0.7818 GB, free: 4.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.444e-05/0.4653, allocations: 75.08 kB / 0.7818 GB, free: 4.301 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/0.4654, allocations: 53.61 kB / 0.7819 GB, free: 4.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4656, allocations: 334.8 kB / 0.7822 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.4658, allocations: 92.8 kB / 0.7823 GB, free: 3.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.4661, allocations: 188.8 kB / 0.7825 GB, free: 3.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.4666, allocations: 269.3 kB / 0.7827 GB, free: 3.293 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4666, allocations: 0 / 0.7827 GB, free: 3.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008543/0.4675, allocations: 381.1 kB / 0.7831 GB, free: 2.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4675, allocations: 8 kB / 0.7831 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4675, allocations: 0 / 0.7831 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/0.468, allocations: 113.7 kB / 0.7832 GB, free: 2.785 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.4682, allocations: 47.97 kB / 0.7833 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.4715, allocations: 3.053 MB / 0.7862 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.4717, allocations: 35.83 kB / 0.7863 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.4717, allocations: 8 kB / 0.7863 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003147/0.4721, allocations: 220 kB / 0.7865 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002547/0.4723, allocations: 179.5 kB / 0.7867 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004446/0.4728, allocations: 271.3 kB / 0.7869 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.4728, allocations: 0 / 0.7869 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization_lambda0): time 0.0007796/0.4736, allocations: 349.8 kB / 0.7873 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4736, allocations: 11.94 kB / 0.7873 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.4736, allocations: 0 / 0.7873 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.4739, allocations: 85.03 kB / 0.7874 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4741, allocations: 47.97 kB / 0.7874 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.4762, allocations: 1.631 MB / 0.789 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.4764, allocations: 31.77 kB / 0.789 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.4765, allocations: 12.06 kB / 0.789 GB, free: 12.32 MB / 0.5606 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.4766, allocations: 196.7 kB / 0.7892 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.4766, allocations: 19.81 kB / 0.7892 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.4767, allocations: 30.17 kB / 0.7893 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4767, allocations: 4 kB / 0.7893 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4767, allocations: 0 / 0.7893 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.4768, allocations: 124.7 kB / 0.7894 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.4769, allocations: 0 / 0.7894 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.477, allocations: 19.98 kB / 0.7894 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.754e-05/0.4771, allocations: 19.97 kB / 0.7894 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008354/0.478, allocations: 368.9 kB / 0.7898 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006978/0.4787, allocations: 490.2 kB / 0.7903 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001952/0.4789, allocations: 91.97 kB / 0.7903 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001605/0.479, allocations: 160.5 kB / 0.7905 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of Backend: time 3.01e-07/0.479, allocations: 0 / 0.7905 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002273/0.4813, allocations: 0.8523 MB / 0.7913 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001137/0.4825, allocations: 1.032 MB / 0.7923 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.01029/0.4928, allocations: 5.664 MB / 0.7979 GB, free: 3.172 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)