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.004737/0.004737, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001134/0.001134, allocations: 196.7 kB / 16.68 MB, free: 5.969 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.289/1.289, allocations: 222.9 MB / 240.4 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.002044/0.002044, allocations: 284 kB / 290.8 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.9083/0.9083, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 104.2 kB / 0.6814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4341, allocations: 86.98 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005056/0.4392, allocations: 2.635 MB / 0.769 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.4416, allocations: 1.309 MB / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/0.4418, allocations: 7.938 kB / 0.7702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.4426, allocations: 183.2 kB / 0.7704 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006076/0.4433, allocations: 163.3 kB / 0.7706 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.4438, allocations: 163.6 kB / 0.7707 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.4443, allocations: 263.2 kB / 0.771 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004049/0.4447, allocations: 149.1 kB / 0.7711 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.445, allocations: 99.67 kB / 0.7712 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.4453, allocations: 127.5 kB / 0.7713 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.4454, allocations: 12 kB / 0.7714 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.4457, allocations: 151.6 kB / 0.7715 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4458, allocations: 63.86 kB / 0.7716 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.4459, allocations: 91.53 kB / 0.7716 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.4464, allocations: 293.6 kB / 0.7719 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4464, allocations: 0 / 0.7719 GB, free: 14.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4464, allocations: 0 / 0.7719 GB, free: 14.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.4464, allocations: 4 kB / 0.7719 GB, free: 14.2 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.0009997/0.4474, allocations: 0.495 MB / 0.7724 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4475, allocations: 11.97 kB / 0.7724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.448, allocations: 64.67 kB / 0.7725 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.4483, allocations: 239.9 kB / 0.7727 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.4484, allocations: 20.64 kB / 0.7727 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.4484, allocations: 12.38 kB / 0.7727 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.4489, allocations: 301.6 kB / 0.773 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4489, allocations: 0 / 0.773 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.449, allocations: 8 kB / 0.773 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/0.449, allocations: 32.25 kB / 0.7731 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004832/0.4495, allocations: 256.5 kB / 0.7733 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.4511, allocations: 1.498 MB / 0.7748 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004765/0.4516, allocations: 259.8 kB / 0.775 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.4518, allocations: 125.6 kB / 0.7751 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.4518, allocations: 4 kB / 0.7751 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.4519, allocations: 38.5 kB / 0.7752 GB, free: 10.57 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 2.946e-06/0.4519, allocations: 7.938 kB / 0.7752 GB, free: 10.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0007246/0.4526, allocations: 345.2 kB / 0.7755 GB, free: 10.22 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4527, allocations: 81.11 kB / 0.7756 GB, free: 10.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4528, allocations: 179.9 kB / 0.7758 GB, free: 9.934 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.4529, allocations: 25.7 kB / 0.7758 GB, free: 9.902 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.453, allocations: 144.1 kB / 0.7759 GB, free: 9.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.453, allocations: 59.31 kB / 0.776 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.001e-05/0.4531, allocations: 49.69 kB / 0.776 GB, free: 9.645 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.4532, allocations: 326.8 kB / 0.7763 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/0.4534, allocations: 104.8 kB / 0.7764 GB, free: 9.211 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.4537, allocations: 174.6 kB / 0.7766 GB, free: 9.016 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.4541, allocations: 274.7 kB / 0.7769 GB, free: 8.723 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4541, allocations: 0 / 0.7769 GB, free: 8.723 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005295/0.4547, allocations: 312.8 kB / 0.7772 GB, free: 8.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4547, allocations: 8 kB / 0.7772 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4547, allocations: 4 kB / 0.7772 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4547, allocations: 4 kB / 0.7772 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.455, allocations: 51.89 kB / 0.7772 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.455, allocations: 4 kB / 0.7772 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.4552, allocations: 31.81 kB / 0.7773 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.4552, allocations: 8 kB / 0.7773 GB, free: 8.305 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002397/0.4555, allocations: 202.4 kB / 0.7775 GB, free: 8.105 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000206/0.4557, allocations: 156.3 kB / 0.7776 GB, free: 7.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003732/0.4561, allocations: 251.5 kB / 0.7779 GB, free: 7.648 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.4561, allocations: 0 / 0.7779 GB, free: 7.648 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004826/0.4566, allocations: 285.1 kB / 0.7781 GB, free: 7.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.4566, allocations: 8 kB / 0.7781 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4566, allocations: 4 kB / 0.7781 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-06/0.4566, allocations: 4 kB / 0.7782 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.4568, allocations: 52.14 kB / 0.7782 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4568, allocations: 8 kB / 0.7782 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.457, allocations: 23.89 kB / 0.7782 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.457, allocations: 8 kB / 0.7782 GB, free: 7.258 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.000115/0.4572, allocations: 204.1 kB / 0.7784 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.4572, allocations: 15.81 kB / 0.7784 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005065/0.4577, allocations: 266.2 kB / 0.7787 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4577, allocations: 8 kB / 0.7787 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4578, allocations: 0 / 0.7787 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.4578, allocations: 3.984 kB / 0.7787 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.4588, allocations: 0.6732 MB / 0.7794 GB, free: 6.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.4588, allocations: 8.062 kB / 0.7794 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.459, allocations: 47.89 kB / 0.7794 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.459, allocations: 3.984 kB / 0.7794 GB, free: 5.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.459, allocations: 11.94 kB / 0.7794 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.4591, allocations: 4 kB / 0.7794 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4591, allocations: 0 / 0.7794 GB, free: 5.941 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/0.4596, allocations: 449.8 kB / 0.7799 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-05/0.4597, allocations: 108.9 kB / 0.78 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.4597, allocations: 15.88 kB / 0.78 GB, free: 5.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.4599, allocations: 15.97 kB / 0.78 GB, free: 5.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.46, allocations: 19.98 kB / 0.78 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.46, allocations: 4 kB / 0.78 GB, free: 5.293 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.4601, allocations: 131.8 kB / 0.7802 GB, free: 5.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4601, allocations: 0 / 0.7802 GB, free: 5.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004562/0.4606, allocations: 83.78 kB / 0.7802 GB, free: 5.082 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 simulation (16): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001044/0.4607, allocations: 108.2 kB / 0.7803 GB, free: 4.969 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006895/0.4614, allocations: 371.5 kB / 0.7807 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4614, allocations: 0 / 0.7807 GB, free: 4.605 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.4616, allocations: 117 kB / 0.7808 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.462, allocations: 52.72 kB / 0.7809 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007276/0.4628, allocations: 438.3 kB / 0.7813 GB, free: 3.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.4631, allocations: 0.7441 MB / 0.782 GB, free: 3.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.4633, allocations: 73.47 kB / 0.7821 GB, free: 3.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.123e-05/0.4634, allocations: 19.44 kB / 0.7821 GB, free: 3.121 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4634, allocations: 0 / 0.7821 GB, free: 3.121 MB / 0.545 GB Notification: Performance of Templates: time 0.005074/0.4685, allocations: 2.357 MB / 0.7844 GB, free: 0.7812 MB / 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)