Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001345/0.001345, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 197 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.692/1.692, allocations: 251.7 MB / 0.5092 GB, free: 3.078 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 75.89 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8106/0.8122, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.005658/0.818, allocations: 2.645 MB / 0.7271 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.8206, allocations: 1.376 MB / 0.7284 GB, free: 8.867 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.8208, allocations: 3.938 kB / 0.7285 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008862/0.8217, allocations: 175.3 kB / 0.7286 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.8222, allocations: 167.2 kB / 0.7288 GB, free: 8.527 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.8227, allocations: 159.7 kB / 0.7289 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.8231, allocations: 259.2 kB / 0.7292 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004354/0.8235, allocations: 141.4 kB / 0.7293 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.8238, allocations: 107.6 kB / 0.7294 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003693/0.8241, allocations: 127.5 kB / 0.7295 GB, free: 7.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.8242, allocations: 19.94 kB / 0.7296 GB, free: 7.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.8245, allocations: 147.7 kB / 0.7297 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.8246, allocations: 71.81 kB / 0.7298 GB, free: 7.516 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.8248, allocations: 91.52 kB / 0.7299 GB, free: 7.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004229/0.8252, allocations: 285.1 kB / 0.7301 GB, free: 7.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8252, allocations: 0 / 0.7301 GB, free: 7.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.664e-06/0.8252, allocations: 0 / 0.7301 GB, free: 7.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8253, allocations: 0 / 0.7301 GB, free: 7.148 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.001114/0.8264, allocations: 0.4911 MB / 0.7306 GB, free: 6.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.8264, allocations: 8.031 kB / 0.7306 GB, free: 6.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.827, allocations: 80.56 kB / 0.7307 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.8273, allocations: 240 kB / 0.7309 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.8273, allocations: 4.656 kB / 0.7309 GB, free: 6.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.8274, allocations: 16.36 kB / 0.7309 GB, free: 6.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005358/0.8279, allocations: 308.9 kB / 0.7312 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.8279, allocations: 4 kB / 0.7312 GB, free: 5.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.828, allocations: 4 kB / 0.7312 GB, free: 5.895 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.828, allocations: 28.27 kB / 0.7313 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005087/0.8285, allocations: 260.5 kB / 0.7315 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.8303, allocations: 1.498 MB / 0.733 GB, free: 3.969 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.8309, allocations: 253.1 kB / 0.7332 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.8311, allocations: 133.6 kB / 0.7333 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.8312, allocations: 0 / 0.7333 GB, free: 3.566 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.8312, allocations: 42.5 kB / 0.7334 GB, free: 3.516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.8312, allocations: 0 / 0.7334 GB, free: 3.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0008424/0.8321, allocations: 345.3 kB / 0.7337 GB, free: 3.172 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.8322, allocations: 81.11 kB / 0.7338 GB, free: 3.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.8324, allocations: 179.1 kB / 0.734 GB, free: 2.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.8324, allocations: 29.7 kB / 0.734 GB, free: 2.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.8326, allocations: 140 kB / 0.7341 GB, free: 2.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.8326, allocations: 51.3 kB / 0.7342 GB, free: 2.664 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-05/0.8327, allocations: 49.61 kB / 0.7342 GB, free: 2.609 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.8329, allocations: 330.8 kB / 0.7345 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.8331, allocations: 108.8 kB / 0.7346 GB, free: 2.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.8334, allocations: 166.1 kB / 0.7348 GB, free: 1.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005004/0.8339, allocations: 282.7 kB / 0.7351 GB, free: 1.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8339, allocations: 0 / 0.7351 GB, free: 1.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005681/0.8345, allocations: 293.3 kB / 0.7353 GB, free: 1.387 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.8345, allocations: 14.17 kB / 0.7354 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.8346, allocations: 3.938 kB / 0.7354 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.729e-05/0.8346, allocations: 4.219 kB / 0.7354 GB, free: 1.367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.8349, allocations: 63.89 kB / 0.7354 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.8349, allocations: 4 kB / 0.7354 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.8351, allocations: 39.66 kB / 0.7355 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.8352, allocations: 8 kB / 0.7355 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002767/0.8355, allocations: 196 kB / 0.7357 GB, free: 1.059 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.8357, allocations: 156.4 kB / 0.7358 GB, free: 0.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004263/0.8361, allocations: 251 kB / 0.7361 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.8361, allocations: 0 / 0.7361 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000507/0.8367, allocations: 273.3 kB / 0.7363 GB, free: 340 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.8367, allocations: 4 kB / 0.7363 GB, free: 336 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8367, allocations: 4 kB / 0.7363 GB, free: 332 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.8367, allocations: 11.92 kB / 0.7363 GB, free: 320 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.8369, allocations: 47.97 kB / 0.7364 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.8369, allocations: 7.938 kB / 0.7364 GB, free: 264 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.8371, allocations: 31.81 kB / 0.7364 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.8371, allocations: 8.156 kB / 0.7364 GB, free: 224 kB / 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.0001366/0.8373, allocations: 196.1 kB / 0.7366 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.8373, allocations: 15.81 kB / 0.7366 GB, free: 4 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006051/0.8379, allocations: 271 kB / 0.7369 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.838, allocations: 4 kB / 0.7369 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.838, allocations: 0 / 0.7369 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.838, allocations: 4 kB / 0.7369 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.8391, allocations: 0.6887 MB / 0.7376 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.8391, allocations: 4 kB / 0.7376 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.8393, allocations: 39.95 kB / 0.7376 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.8393, allocations: 4 kB / 0.7376 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.8393, allocations: 16.06 kB / 0.7376 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.8393, allocations: 3.938 kB / 0.7376 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.8393, allocations: 4 kB / 0.7376 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005494/0.8399, allocations: 449.8 kB / 0.7381 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.84, allocations: 105 kB / 0.7382 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.8401, allocations: 11.94 kB / 0.7382 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.8403, allocations: 23.91 kB / 0.7382 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.8404, allocations: 11.98 kB / 0.7382 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.8404, allocations: 4 kB / 0.7382 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001116/0.8405, allocations: 143.2 kB / 0.7384 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8405, allocations: 0 / 0.7384 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004651/0.841, allocations: 83.75 kB / 0.7384 GB, free: 14.03 MB / 0.5606 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.0001428/0.8411, allocations: 102.7 kB / 0.7385 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007572/0.8419, allocations: 395.8 kB / 0.7389 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8419, allocations: 0 / 0.7389 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.8421, allocations: 111.9 kB / 0.739 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.8426, allocations: 45.22 kB / 0.7391 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009121/0.8435, allocations: 451 kB / 0.7395 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/0.8441, allocations: 0.7441 MB / 0.7402 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002589/0.8444, allocations: 77.45 kB / 0.7403 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.8445, allocations: 19.44 kB / 0.7403 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.172e-06/0.8445, allocations: 0 / 0.7403 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.006401/0.8509, allocations: 2.302 MB / 0.7426 GB, free: 9.766 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)