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.001272/0.001272, allocations: 100.5 kB / 16.39 MB, free: 6.383 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.001232/0.001232, allocations: 192.6 kB / 17.33 MB, free: 5.844 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.412/1.412, 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.00263/0.00263, allocations: 285.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4293, allocations: 86.98 MB / 0.767 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004349/0.4337, allocations: 2.642 MB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.436, allocations: 1.309 MB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4361, allocations: 7.938 kB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007187/0.4368, allocations: 179.2 kB / 0.7711 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.4372, allocations: 171.3 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.4376, allocations: 159.7 kB / 0.7714 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.438, allocations: 259.2 kB / 0.7716 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.4383, allocations: 121.3 kB / 0.7718 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.4385, allocations: 111.6 kB / 0.7719 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.4387, allocations: 127.5 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.4388, allocations: 12 kB / 0.772 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.439, allocations: 151.6 kB / 0.7721 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.4391, allocations: 59.81 kB / 0.7722 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.4392, allocations: 95.53 kB / 0.7723 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.4396, allocations: 292.8 kB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4396, allocations: 0 / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4396, allocations: 4 kB / 0.7726 GB, free: 14.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.4396, allocations: 0 / 0.7726 GB, free: 14.25 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.000847/0.4405, allocations: 0.4947 MB / 0.7731 GB, free: 13.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4405, allocations: 11.97 kB / 0.7731 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.441, allocations: 76.7 kB / 0.7731 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.4414, allocations: 243.1 kB / 0.7734 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4414, allocations: 12.66 kB / 0.7734 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.4414, allocations: 12.38 kB / 0.7734 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.442, allocations: 305.6 kB / 0.7737 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.442, allocations: 0 / 0.7737 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.442, allocations: 15.98 kB / 0.7737 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.914e-05/0.4421, allocations: 24.27 kB / 0.7737 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005437/0.4426, allocations: 264.5 kB / 0.774 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.4445, allocations: 1.498 MB / 0.7754 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/0.445, allocations: 249.1 kB / 0.7757 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.4453, allocations: 117.6 kB / 0.7758 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.4453, allocations: 4 kB / 0.7758 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4453, allocations: 38.5 kB / 0.7758 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.4453, allocations: 4 kB / 0.7758 GB, free: 10.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008351/0.4462, allocations: 343.9 kB / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.4462, allocations: 85.11 kB / 0.7762 GB, free: 10.17 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4464, allocations: 172 kB / 0.7764 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4465, allocations: 25.7 kB / 0.7764 GB, free: 9.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.4466, allocations: 156.2 kB / 0.7766 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.4467, allocations: 51.72 kB / 0.7766 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.191e-05/0.4467, allocations: 49.66 kB / 0.7767 GB, free: 9.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4469, allocations: 326.8 kB / 0.777 GB, free: 9.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.4472, allocations: 108.8 kB / 0.7771 GB, free: 9.258 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.4475, allocations: 163.7 kB / 0.7773 GB, free: 9.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.448, allocations: 278.6 kB / 0.7775 GB, free: 8.773 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.448, allocations: 0 / 0.7775 GB, free: 8.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006161/0.4486, allocations: 313.4 kB / 0.7778 GB, free: 8.461 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4486, allocations: 4 kB / 0.7778 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.4486, allocations: 4 kB / 0.7778 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4486, allocations: 4 kB / 0.7778 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.4489, allocations: 51.89 kB / 0.7779 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4489, allocations: 7.984 kB / 0.7779 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.4492, allocations: 31.83 kB / 0.7779 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4492, allocations: 11.98 kB / 0.7779 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000304/0.4495, allocations: 198.4 kB / 0.7781 GB, free: 8.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002584/0.4497, allocations: 160.3 kB / 0.7783 GB, free: 7.965 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004335/0.4502, allocations: 254.7 kB / 0.7785 GB, free: 7.691 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.213e-06/0.4502, allocations: 0 / 0.7785 GB, free: 7.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005455/0.4507, allocations: 277.3 kB / 0.7788 GB, free: 7.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.4507, allocations: 8 kB / 0.7788 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/0.4507, allocations: 0 / 0.7788 GB, free: 7.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.738e-06/0.4507, allocations: 7.938 kB / 0.7788 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.451, allocations: 48.2 kB / 0.7788 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.451, allocations: 11.94 kB / 0.7789 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.4512, allocations: 31.86 kB / 0.7789 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.4512, allocations: 8 kB / 0.7789 GB, free: 7.301 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.0001388/0.4513, allocations: 192.2 kB / 0.7791 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.4514, allocations: 15.91 kB / 0.7791 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.4519, allocations: 270.9 kB / 0.7793 GB, free: 6.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.452, allocations: 8 kB / 0.7794 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.452, allocations: 0 / 0.7794 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.452, allocations: 0 / 0.7794 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4531, allocations: 0.681 MB / 0.78 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.4531, allocations: 4.125 kB / 0.78 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.4533, allocations: 47.95 kB / 0.7801 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4533, allocations: 4 kB / 0.7801 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.4534, allocations: 7.938 kB / 0.7801 GB, free: 5.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.4534, allocations: 7.938 kB / 0.7801 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4534, allocations: 0 / 0.7801 GB, free: 5.988 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.454, allocations: 446 kB / 0.7805 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.4541, allocations: 113 kB / 0.7806 GB, free: 5.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/0.4542, allocations: 11.92 kB / 0.7806 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4544, allocations: 19.92 kB / 0.7806 GB, free: 5.363 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4544, allocations: 15.98 kB / 0.7807 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4544, allocations: 4 kB / 0.7807 GB, free: 5.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001238/0.4546, allocations: 131.8 kB / 0.7808 GB, free: 5.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4546, allocations: 0 / 0.7808 GB, free: 5.215 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004784/0.455, allocations: 83.84 kB / 0.7809 GB, free: 5.133 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.0001432/0.4552, allocations: 111.3 kB / 0.781 GB, free: 5.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007622/0.4559, allocations: 351.5 kB / 0.7813 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4559, allocations: 0 / 0.7813 GB, free: 4.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002404/0.4562, allocations: 112.9 kB / 0.7814 GB, free: 4.566 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.4567, allocations: 54.62 kB / 0.7815 GB, free: 4.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007772/0.4575, allocations: 438 kB / 0.7819 GB, free: 4.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.4579, allocations: 0.7518 MB / 0.7826 GB, free: 3.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002073/0.4581, allocations: 77.47 kB / 0.7827 GB, free: 3.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.4582, allocations: 19.42 kB / 0.7827 GB, free: 3.176 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.4582, allocations: 0 / 0.7827 GB, free: 3.176 MB / 0.545 GB Notification: Performance of Templates: time 0.005622/0.4638, allocations: 2.361 MB / 0.785 GB, free: 0.832 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)