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.001135/0.001135, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001348/0.001348, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 285.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.3 MB / 0.499 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 103.8 kB / 0.6821 GB, free: 7.027 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4268, allocations: 86.98 MB / 0.767 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.004491/0.4313, allocations: 3.059 MB / 0.77 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.4332, allocations: 1.328 MB / 0.7713 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.4334, allocations: 8 kB / 0.7713 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.4344, allocations: 330.7 kB / 0.7717 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.4347, allocations: 147.2 kB / 0.7718 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.4351, allocations: 139.6 kB / 0.7719 GB, free: 14.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.4354, allocations: 306.8 kB / 0.7722 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.4358, allocations: 232.3 kB / 0.7724 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.4359, allocations: 123.5 kB / 0.7726 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.4362, allocations: 143.5 kB / 0.7727 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.4362, allocations: 20 kB / 0.7727 GB, free: 14.15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000274/0.4365, allocations: 163.7 kB / 0.7729 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.4366, allocations: 87.78 kB / 0.773 GB, free: 13.9 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.4367, allocations: 107.5 kB / 0.7731 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.4371, allocations: 337.5 kB / 0.7734 GB, free: 13.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4371, allocations: 0 / 0.7734 GB, free: 13.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4371, allocations: 0 / 0.7734 GB, free: 13.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4371, allocations: 0 / 0.7734 GB, free: 13.47 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.0007371/0.4379, allocations: 0.5186 MB / 0.7739 GB, free: 12.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.4379, allocations: 11.97 kB / 0.7739 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005748/0.4385, allocations: 84.58 kB / 0.774 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.4388, allocations: 240 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.4388, allocations: 20.62 kB / 0.7742 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.4389, allocations: 20.38 kB / 0.7742 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.4393, allocations: 299.5 kB / 0.7745 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.4393, allocations: 0 / 0.7745 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4394, allocations: 8 kB / 0.7745 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.4394, allocations: 24.3 kB / 0.7746 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.4397, allocations: 193 kB / 0.7747 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.4411, allocations: 1.464 MB / 0.7762 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.4414, allocations: 171.7 kB / 0.7763 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.4414, allocations: 32.86 kB / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.4414, allocations: 3.984 kB / 0.7764 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.4415, allocations: 34.5 kB / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.4415, allocations: 0 / 0.7764 GB, free: 10.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004627/0.4419, allocations: 223.4 kB / 0.7766 GB, free: 9.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.442, allocations: 55.41 kB / 0.7767 GB, free: 9.742 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.4422, allocations: 198.3 kB / 0.7769 GB, free: 9.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.4422, allocations: 29.7 kB / 0.7769 GB, free: 9.504 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.4423, allocations: 163.8 kB / 0.777 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.4423, allocations: 23.69 kB / 0.7771 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.4424, allocations: 33.72 kB / 0.7771 GB, free: 9.277 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4425, allocations: 334.8 kB / 0.7774 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.23e-05/0.4426, allocations: 35.92 kB / 0.7775 GB, free: 8.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4427, allocations: 100.5 kB / 0.7775 GB, free: 8.777 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.4429, allocations: 148.5 kB / 0.7777 GB, free: 8.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4429, allocations: 0 / 0.7777 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002982/0.4432, allocations: 186.1 kB / 0.7779 GB, free: 8.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4432, allocations: 8 kB / 0.7779 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.4432, allocations: 3.984 kB / 0.7779 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/0.4434, allocations: 33.12 kB / 0.7779 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.4435, allocations: 23.94 kB / 0.7779 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.4445, allocations: 1.427 MB / 0.7793 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.4447, allocations: 19.84 kB / 0.7793 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.4447, allocations: 4 kB / 0.7793 GB, free: 6.75 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.0001425/0.4448, allocations: 152.7 kB / 0.7795 GB, free: 6.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.4449, allocations: 19.84 kB / 0.7795 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.4449, allocations: 21.39 kB / 0.7795 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4449, allocations: 0 / 0.7795 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4449, allocations: 64 / 0.7795 GB, free: 6.551 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.445, allocations: 108.8 kB / 0.7796 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.4451, allocations: 0 / 0.7796 GB, free: 6.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4452, allocations: 8 kB / 0.7796 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.4452, allocations: 4 kB / 0.7796 GB, free: 6.414 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002573/0.4455, allocations: 194 kB / 0.7798 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002533/0.4457, allocations: 290.7 kB / 0.7801 GB, free: 5.914 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.763e-05/0.4458, allocations: 28.02 kB / 0.7801 GB, free: 5.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001184/0.4459, allocations: 144.9 kB / 0.7803 GB, free: 5.746 MB / 0.545 GB Notification: Performance of Backend: time 4.81e-07/0.4459, allocations: 0 / 0.7803 GB, free: 5.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008415/0.4468, allocations: 363.8 kB / 0.7806 GB, free: 5.375 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008948/0.4477, allocations: 0.8182 MB / 0.7814 GB, free: 4.508 MB / 0.545 GB Notification: Performance of Templates: time 0.00589/0.4536, allocations: 2.589 MB / 0.784 GB, free: 1.949 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)