Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001714/0.001714, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.356/1.356, 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.002123/0.002123, allocations: 289.3 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.9735/0.9735, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.4237, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004014/0.4278, allocations: 2.635 MB / 0.7696 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.4299, allocations: 1.309 MB / 0.7709 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.4301, allocations: 7.938 kB / 0.7709 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.4308, allocations: 179.2 kB / 0.7711 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.4313, allocations: 167.3 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.4317, allocations: 159.6 kB / 0.7714 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.4321, allocations: 263.2 kB / 0.7716 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.4324, allocations: 145 kB / 0.7718 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.4327, allocations: 107.6 kB / 0.7719 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.433, allocations: 127.6 kB / 0.772 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.4331, allocations: 16 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002598/0.4333, allocations: 147.6 kB / 0.7722 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.4334, allocations: 71.8 kB / 0.7722 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.4335, allocations: 87.53 kB / 0.7723 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.4339, allocations: 289.7 kB / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4339, allocations: 0 / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.434, allocations: 0 / 0.7726 GB, free: 14.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.434, allocations: 0 / 0.7726 GB, free: 14.26 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008074/0.4348, allocations: 0.4988 MB / 0.7731 GB, free: 13.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4348, allocations: 8.031 kB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005342/0.4354, allocations: 68.67 kB / 0.7732 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4357, allocations: 240.5 kB / 0.7734 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.4357, allocations: 12.66 kB / 0.7734 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.4357, allocations: 12.38 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.4363, allocations: 309.6 kB / 0.7737 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4363, allocations: 3.938 kB / 0.7737 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.4363, allocations: 11.98 kB / 0.7737 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.4364, allocations: 24.27 kB / 0.7737 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.4369, allocations: 264.5 kB / 0.774 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.4385, allocations: 1.498 MB / 0.7755 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.439, allocations: 247.9 kB / 0.7757 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002254/0.4393, allocations: 137.6 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.4393, allocations: 3.984 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.4394, allocations: 38.56 kB / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.4394, allocations: 0 / 0.7759 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007451/0.4401, allocations: 345.3 kB / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4402, allocations: 81.11 kB / 0.7763 GB, free: 10.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4403, allocations: 179.9 kB / 0.7764 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4404, allocations: 25.7 kB / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.857e-05/0.4405, allocations: 144 kB / 0.7766 GB, free: 9.812 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.4405, allocations: 51.2 kB / 0.7767 GB, free: 9.762 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-05/0.4406, allocations: 49.7 kB / 0.7767 GB, free: 9.707 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.4407, allocations: 330.8 kB / 0.777 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.4409, allocations: 108.8 kB / 0.7771 GB, free: 9.266 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.4412, allocations: 162.6 kB / 0.7773 GB, free: 9.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.4417, allocations: 285.6 kB / 0.7775 GB, free: 8.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4417, allocations: 0 / 0.7775 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005817/0.4423, allocations: 313.1 kB / 0.7778 GB, free: 8.469 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4423, allocations: 6.5 kB / 0.7779 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4423, allocations: 4 kB / 0.7779 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4423, allocations: 4.219 kB / 0.7779 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.4426, allocations: 59.88 kB / 0.7779 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4426, allocations: 4 kB / 0.7779 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.4428, allocations: 31.81 kB / 0.7779 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.4429, allocations: 8 kB / 0.778 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002604/0.4431, allocations: 198.4 kB / 0.7781 GB, free: 8.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002183/0.4434, allocations: 156.4 kB / 0.7783 GB, free: 7.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003812/0.4438, allocations: 247.5 kB / 0.7785 GB, free: 7.707 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.4438, allocations: 4 kB / 0.7785 GB, free: 7.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004918/0.4443, allocations: 280.4 kB / 0.7788 GB, free: 7.426 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.4443, allocations: 11.94 kB / 0.7788 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-06/0.4443, allocations: 0 / 0.7788 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.4443, allocations: 4 kB / 0.7788 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.4445, allocations: 51.95 kB / 0.7789 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4445, allocations: 7.938 kB / 0.7789 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4447, allocations: 28.12 kB / 0.7789 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4447, allocations: 12 kB / 0.7789 GB, free: 7.312 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.4449, allocations: 196.1 kB / 0.7791 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.4449, allocations: 15.81 kB / 0.7791 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.4455, allocations: 267 kB / 0.7794 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4455, allocations: 0 / 0.7794 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.4455, allocations: 4 kB / 0.7794 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.4456, allocations: 108.8 kB / 0.7795 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.4457, allocations: 15.92 kB / 0.7795 GB, free: 6.684 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.4459, allocations: 23.97 kB / 0.7795 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.446, allocations: 15.92 kB / 0.7795 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006224/0.4466, allocations: 419.9 kB / 0.7799 GB, free: 6.227 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005373/0.4472, allocations: 0.4899 MB / 0.7804 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000202/0.4474, allocations: 110.9 kB / 0.7805 GB, free: 5.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001162/0.4475, allocations: 135.8 kB / 0.7806 GB, free: 5.48 MB / 0.545 GB Notification: Performance of Backend: time 6.91e-07/0.4475, allocations: 0 / 0.7806 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.4487, allocations: 443.7 kB / 0.7811 GB, free: 5.043 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008925/0.4496, allocations: 0.7984 MB / 0.7818 GB, free: 4.199 MB / 0.545 GB Notification: Performance of Templates: time 0.007491/0.4571, allocations: 4.015 MB / 0.7858 GB, free: 208 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)