Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") translateModel(BuildingSystems.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 116.2 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.001207/0.001207, allocations: 183.9 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.344/1.344, allocations: 222.9 MB / 241 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.0021/0.0021, allocations: 288.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9504/0.9504, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001908, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4353, allocations: 86.97 MB / 0.767 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005323/0.4407, allocations: 3.826 MB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002704/0.4434, allocations: 1.733 MB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.4436, allocations: 7.938 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.4449, allocations: 0.4899 MB / 0.7729 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.4454, allocations: 222.9 kB / 0.7732 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004873/0.4459, allocations: 203.5 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000488/0.4464, allocations: 486.1 kB / 0.7738 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005283/0.4469, allocations: 349.2 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002053/0.4471, allocations: 203.2 kB / 0.7743 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.4475, allocations: 211.3 kB / 0.7745 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.4475, allocations: 28 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.4479, allocations: 255.4 kB / 0.7748 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.448, allocations: 123.7 kB / 0.7749 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.4482, allocations: 171.2 kB / 0.7751 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005367/0.4488, allocations: 0.5009 MB / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4488, allocations: 0 / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4488, allocations: 0 / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4488, allocations: 0 / 0.7756 GB, free: 11.09 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.0009327/0.4497, allocations: 0.6355 MB / 0.7762 GB, free: 10.4 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4498, allocations: 8.031 kB / 0.7762 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009118/0.4507, allocations: 132.4 kB / 0.7763 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.451, allocations: 299.7 kB / 0.7766 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.4511, allocations: 24.97 kB / 0.7767 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.4511, allocations: 28.36 kB / 0.7767 GB, free: 9.883 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.4518, allocations: 463.9 kB / 0.7771 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4518, allocations: 0 / 0.7771 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.4518, allocations: 15.94 kB / 0.7771 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/0.4519, allocations: 32.53 kB / 0.7772 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.4523, allocations: 321.9 kB / 0.7775 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.4544, allocations: 2.181 MB / 0.7796 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.4548, allocations: 251.8 kB / 0.7798 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.455, allocations: 104.8 kB / 0.7799 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.455, allocations: 7.938 kB / 0.78 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.455, allocations: 34.55 kB / 0.78 GB, free: 6.207 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.455, allocations: 0 / 0.78 GB, free: 6.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0005717/0.4556, allocations: 303.5 kB / 0.7803 GB, free: 5.883 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.4557, allocations: 51.41 kB / 0.7803 GB, free: 5.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002573/0.4559, allocations: 270.5 kB / 0.7806 GB, free: 5.555 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4559, allocations: 25.7 kB / 0.7806 GB, free: 5.523 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4561, allocations: 207.8 kB / 0.7808 GB, free: 5.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.4561, allocations: 47.39 kB / 0.7809 GB, free: 5.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.967e-05/0.4562, allocations: 53.88 kB / 0.7809 GB, free: 5.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4563, allocations: 334.8 kB / 0.7812 GB, free: 4.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.417e-05/0.4564, allocations: 64.44 kB / 0.7813 GB, free: 4.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.4566, allocations: 139.8 kB / 0.7814 GB, free: 4.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.4568, allocations: 222.3 kB / 0.7816 GB, free: 4.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4568, allocations: 0 / 0.7816 GB, free: 4.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003989/0.4572, allocations: 270.1 kB / 0.7819 GB, free: 4.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.4573, allocations: 4 kB / 0.7819 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4573, allocations: 7.938 kB / 0.7819 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.4574, allocations: 24.84 kB / 0.7819 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.4576, allocations: 47.92 kB / 0.782 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.4587, allocations: 1.426 MB / 0.7834 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.4588, allocations: 27.84 kB / 0.7834 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.4589, allocations: 16 kB / 0.7834 GB, free: 2.414 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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.0001414/0.459, allocations: 170.4 kB / 0.7836 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.4591, allocations: 31.59 kB / 0.7836 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.4591, allocations: 21.84 kB / 0.7836 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4591, allocations: 3.984 kB / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4592, allocations: 0 / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.4592, allocations: 108.8 kB / 0.7837 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.4593, allocations: 4 kB / 0.7837 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.4594, allocations: 15.98 kB / 0.7837 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.4595, allocations: 11.98 kB / 0.7838 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003453/0.4598, allocations: 241.7 kB / 0.784 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003339/0.4602, allocations: 384.4 kB / 0.7843 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.956e-05/0.4602, allocations: 47.97 kB / 0.7844 GB, free: 1.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001642/0.4604, allocations: 190 kB / 0.7846 GB, free: 1.156 MB / 0.545 GB Notification: Performance of Backend: time 2e-07/0.4604, allocations: 0 / 0.7846 GB, free: 1.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009218/0.4613, allocations: 447.4 kB / 0.785 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of SimCode: time 0.001051/0.4624, allocations: 0.9769 MB / 0.786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.007614/0.47, allocations: 3.908 MB / 0.7898 GB, free: 11.8 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.sim & ./BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)