Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 115.3 kB / 16.42 MB, free: 6.473 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.001263/0.001263, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.383/1.383, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 286.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 95.84 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4583, allocations: 86.98 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.005281/0.4636, allocations: 3.071 MB / 0.77 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.4662, allocations: 1.332 MB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.4664, allocations: 7.938 kB / 0.7713 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001216/0.4677, allocations: 330.7 kB / 0.7717 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.4681, allocations: 139.3 kB / 0.7718 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004292/0.4686, allocations: 139.6 kB / 0.7719 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.4691, allocations: 306.8 kB / 0.7722 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005182/0.4696, allocations: 236.3 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002438/0.4699, allocations: 127.5 kB / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.4703, allocations: 139.5 kB / 0.7727 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.4704, allocations: 16 kB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003997/0.4708, allocations: 167.6 kB / 0.7729 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.4709, allocations: 83.8 kB / 0.773 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.4711, allocations: 111.5 kB / 0.7731 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.4717, allocations: 329.6 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.4717, allocations: 0 / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4717, allocations: 3.938 kB / 0.7734 GB, free: 13.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.4718, allocations: 4 kB / 0.7734 GB, free: 13.42 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001088/0.4728, allocations: 0.5146 MB / 0.7739 GB, free: 12.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.4729, allocations: 8.031 kB / 0.7739 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.4736, allocations: 84.56 kB / 0.774 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.4739, allocations: 240 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.474, allocations: 12.73 kB / 0.7742 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.474, allocations: 24.31 kB / 0.7742 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.4745, allocations: 303.5 kB / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4745, allocations: 0 / 0.7745 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.4745, allocations: 12 kB / 0.7745 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.4746, allocations: 12.38 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.4749, allocations: 196.9 kB / 0.7747 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.4766, allocations: 1.46 MB / 0.7762 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.4768, allocations: 175.7 kB / 0.7763 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.4769, allocations: 36.84 kB / 0.7764 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.4769, allocations: 0 / 0.7764 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.477, allocations: 30.56 kB / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.477, allocations: 0 / 0.7764 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005445/0.4775, allocations: 235.3 kB / 0.7766 GB, free: 9.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.4776, allocations: 51.41 kB / 0.7767 GB, free: 9.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.4778, allocations: 198.3 kB / 0.7769 GB, free: 9.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4778, allocations: 25.7 kB / 0.7769 GB, free: 9.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.4779, allocations: 171.7 kB / 0.777 GB, free: 9.297 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.478, allocations: 23.7 kB / 0.7771 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.478, allocations: 29.72 kB / 0.7771 GB, free: 9.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4782, allocations: 334.8 kB / 0.7774 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.4782, allocations: 31.97 kB / 0.7774 GB, free: 8.871 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.4784, allocations: 108.4 kB / 0.7776 GB, free: 8.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.4786, allocations: 148.4 kB / 0.7777 GB, free: 8.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4786, allocations: 0 / 0.7777 GB, free: 8.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003102/0.4789, allocations: 182.2 kB / 0.7779 GB, free: 8.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.4789, allocations: 8 kB / 0.7779 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4789, allocations: 0 / 0.7779 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000167/0.4791, allocations: 33.12 kB / 0.7779 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4792, allocations: 27.92 kB / 0.7779 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.4804, allocations: 1.423 MB / 0.7793 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.4805, allocations: 19.88 kB / 0.7793 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.4805, allocations: 4 kB / 0.7793 GB, free: 6.715 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.4807, allocations: 148.2 kB / 0.7795 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.4807, allocations: 27.62 kB / 0.7795 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.4807, allocations: 17.56 kB / 0.7795 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4808, allocations: 4 kB / 0.7795 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4808, allocations: 3.984 kB / 0.7795 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.4808, allocations: 100.9 kB / 0.7796 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.4809, allocations: 0 / 0.7796 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.481, allocations: 11.98 kB / 0.7796 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.481, allocations: 4 kB / 0.7796 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000241/0.4813, allocations: 189.7 kB / 0.7798 GB, free: 6.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000226/0.4815, allocations: 290.5 kB / 0.7801 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.542e-05/0.4815, allocations: 28.48 kB / 0.7801 GB, free: 5.852 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001253/0.4817, allocations: 144.9 kB / 0.7803 GB, free: 5.711 MB / 0.545 GB Notification: Performance of Backend: time 3e-07/0.4817, allocations: 96 / 0.7803 GB, free: 5.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008272/0.4825, allocations: 364.8 kB / 0.7806 GB, free: 5.336 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008882/0.4834, allocations: 0.8278 MB / 0.7814 GB, free: 4.461 MB / 0.545 GB Notification: Performance of Templates: time 0.005992/0.4894, allocations: 2.579 MB / 0.7839 GB, free: 1.914 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1)