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.001581/0.001581, allocations: 115.4 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.00197/0.00197, 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.367/1.367, 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.002167/0.002167, allocations: 288.2 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 1.017/1.017, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4664/0.4681, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Loads.Examples.Resistor): time 0.005663/0.4738, allocations: 3.826 MB / 0.7708 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.4764, allocations: 1.729 MB / 0.7725 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.4766, allocations: 11.94 kB / 0.7725 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001313/0.478, allocations: 498.1 kB / 0.773 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004458/0.4784, allocations: 214.9 kB / 0.7732 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.4789, allocations: 218.5 kB / 0.7734 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00045/0.4794, allocations: 478.1 kB / 0.7738 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005232/0.4799, allocations: 357.2 kB / 0.7742 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.4801, allocations: 199.3 kB / 0.7744 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.4804, allocations: 223.1 kB / 0.7746 GB, free: 12.15 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.049e-05/0.4805, allocations: 28 kB / 0.7746 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.4809, allocations: 239.4 kB / 0.7748 GB, free: 11.89 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.481, allocations: 131.6 kB / 0.7749 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.4812, allocations: 175.2 kB / 0.7751 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.4818, allocations: 0.497 MB / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4818, allocations: 4 kB / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4818, allocations: 0 / 0.7756 GB, free: 11.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.4818, 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.0009326/0.4828, allocations: 0.6277 MB / 0.7762 GB, free: 10.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.4828, allocations: 8.031 kB / 0.7762 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008882/0.4837, allocations: 136.4 kB / 0.7764 GB, free: 10.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003727/0.4841, allocations: 295.7 kB / 0.7766 GB, free: 9.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4841, allocations: 21.03 kB / 0.7767 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.4841, allocations: 24.38 kB / 0.7767 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006235/0.4848, allocations: 475.8 kB / 0.7771 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.4848, allocations: 3.938 kB / 0.7771 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.4848, allocations: 12 kB / 0.7771 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/0.4849, allocations: 28.55 kB / 0.7772 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004602/0.4854, allocations: 317.9 kB / 0.7775 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.4875, allocations: 2.189 MB / 0.7796 GB, free: 6.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/0.4878, allocations: 251.8 kB / 0.7799 GB, free: 6.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.4881, allocations: 104.8 kB / 0.78 GB, free: 6.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.4881, allocations: 4 kB / 0.78 GB, free: 6.258 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4882, allocations: 34.56 kB / 0.78 GB, free: 6.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.4882, allocations: 4 kB / 0.78 GB, free: 6.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006343/0.4888, allocations: 299.5 kB / 0.7803 GB, free: 5.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4889, allocations: 55.39 kB / 0.7803 GB, free: 5.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.4891, allocations: 266.5 kB / 0.7806 GB, free: 5.562 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.4892, allocations: 29.7 kB / 0.7806 GB, free: 5.527 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4893, allocations: 207.8 kB / 0.7808 GB, free: 5.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.4894, allocations: 55.28 kB / 0.7809 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.4894, allocations: 45.94 kB / 0.7809 GB, free: 5.211 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4896, allocations: 334.8 kB / 0.7812 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.4897, allocations: 56.44 kB / 0.7813 GB, free: 4.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.4898, allocations: 148 kB / 0.7814 GB, free: 4.637 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.4901, allocations: 214.3 kB / 0.7816 GB, free: 4.391 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4901, allocations: 0 / 0.7816 GB, free: 4.391 MB / 0.545 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003943/0.4905, allocations: 273.8 kB / 0.7819 GB, free: 4.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4905, allocations: 4.094 kB / 0.7819 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4906, allocations: 7.938 kB / 0.7819 GB, free: 4.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001663/0.4907, allocations: 29.22 kB / 0.7819 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.4909, allocations: 51.91 kB / 0.782 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.492, allocations: 1.418 MB / 0.7834 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.4922, allocations: 27.69 kB / 0.7834 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.4922, allocations: 15.94 kB / 0.7834 GB, free: 2.418 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.0001645/0.4924, allocations: 165.7 kB / 0.7836 GB, free: 2.246 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.4924, allocations: 27.66 kB / 0.7836 GB, free: 2.219 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.4925, allocations: 29.91 kB / 0.7836 GB, free: 2.188 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4925, allocations: 4 kB / 0.7836 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4925, allocations: 4 kB / 0.7836 GB, free: 2.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.4926, allocations: 108.8 kB / 0.7837 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.064e-05/0.4926, allocations: 7.984 kB / 0.7837 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.4928, allocations: 11.94 kB / 0.7837 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.4928, allocations: 7.984 kB / 0.7838 GB, free: 2.027 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003616/0.4932, allocations: 251.1 kB / 0.784 GB, free: 1.773 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003533/0.4936, allocations: 370.5 kB / 0.7843 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.481e-05/0.4936, allocations: 54.05 kB / 0.7844 GB, free: 1.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001764/0.4938, allocations: 186 kB / 0.7846 GB, free: 1.164 MB / 0.545 GB Notification: Performance of Backend: time 3.21e-07/0.4938, allocations: 0 / 0.7846 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.4949, allocations: 453.3 kB / 0.785 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of SimCode: time 0.001146/0.496, allocations: 0.9753 MB / 0.786 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.008893/0.5049, allocations: 3.903 MB / 0.7898 GB, free: 11.81 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)