Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.001043/0.001043, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7626/0.7626, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 66.69 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 77.93 MB / 0.6441 GB, free: 9.539 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.003829/0.1279, allocations: 2.619 MB / 0.6466 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1299, allocations: 1.321 MB / 0.6479 GB, free: 5.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.586e-05/0.13, allocations: 7.938 kB / 0.6479 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.1307, allocations: 171.2 kB / 0.6481 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.131, allocations: 171.2 kB / 0.6482 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.1314, allocations: 170.5 kB / 0.6484 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.1317, allocations: 251.3 kB / 0.6486 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002847/0.132, allocations: 157.7 kB / 0.6488 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.1321, allocations: 99.66 kB / 0.6489 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1324, allocations: 131.5 kB / 0.649 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.1324, allocations: 19.94 kB / 0.649 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.1327, allocations: 143.7 kB / 0.6492 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.814e-05/0.1327, allocations: 59.88 kB / 0.6492 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.1328, allocations: 95.52 kB / 0.6493 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1332, allocations: 294.9 kB / 0.6496 GB, free: 3.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/0.1332, allocations: 4 kB / 0.6496 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1332, allocations: 3.938 kB / 0.6496 GB, free: 3.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.1332, allocations: 0 / 0.6496 GB, free: 3.836 MB / 494.1 MB 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.0007472/0.134, allocations: 0.4986 MB / 0.6501 GB, free: 3.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.134, allocations: 8.625 kB / 0.6501 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.1341, allocations: 54.72 kB / 0.6502 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.1346, allocations: 68.7 kB / 0.6502 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1349, allocations: 243.1 kB / 0.6505 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.135, allocations: 12.64 kB / 0.6505 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.442e-05/0.135, allocations: 16.38 kB / 0.6505 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.1355, allocations: 308.7 kB / 0.6508 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1355, allocations: 0 / 0.6508 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.1356, allocations: 4 kB / 0.6508 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.1356, allocations: 28.27 kB / 0.6508 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005137/0.1361, allocations: 264.5 kB / 0.6511 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.1377, allocations: 1.491 MB / 0.6525 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005077/0.1383, allocations: 265 kB / 0.6528 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.1385, allocations: 141.6 kB / 0.6529 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1385, allocations: 4 kB / 0.6529 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1386, allocations: 30.56 kB / 0.6529 GB, free: 132 kB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.482e-06/0.1386, allocations: 0 / 0.6529 GB, free: 132 kB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007828/0.1394, allocations: 349.4 kB / 0.6533 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.1394, allocations: 77.11 kB / 0.6533 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1396, allocations: 182.6 kB / 0.6535 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1396, allocations: 25.7 kB / 0.6535 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.1397, allocations: 144.3 kB / 0.6537 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.1397, allocations: 55.52 kB / 0.6537 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.1398, allocations: 53.52 kB / 0.6538 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.14, allocations: 330.8 kB / 0.6541 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1402, allocations: 108.8 kB / 0.6542 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1404, allocations: 167.6 kB / 0.6544 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004685/0.1409, allocations: 278.7 kB / 0.6546 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1409, allocations: 0 / 0.6546 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005733/0.1415, allocations: 307.9 kB / 0.6549 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1415, allocations: 8 kB / 0.6549 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1415, allocations: 0 / 0.6549 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1416, allocations: 4.219 kB / 0.6549 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.1419, allocations: 59.89 kB / 0.655 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1419, allocations: 7.984 kB / 0.655 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.1421, allocations: 27.88 kB / 0.655 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.1421, allocations: 19.92 kB / 0.655 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002697/0.1424, allocations: 188.1 kB / 0.6552 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002299/0.1426, allocations: 162.3 kB / 0.6554 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004039/0.1431, allocations: 247.5 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.965e-06/0.1431, allocations: 3.984 kB / 0.6556 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005047/0.1436, allocations: 277.2 kB / 0.6559 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.1436, allocations: 4 kB / 0.6559 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.1436, allocations: 4 kB / 0.6559 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.25e-06/0.1436, allocations: 4 kB / 0.6559 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.1439, allocations: 51.89 kB / 0.6559 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1439, allocations: 4 kB / 0.6559 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1441, allocations: 32.11 kB / 0.656 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.1441, allocations: 12 kB / 0.656 GB, free: 12.81 MB / 0.4981 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.0001104/0.1442, allocations: 197 kB / 0.6562 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1443, allocations: 19.84 kB / 0.6562 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005313/0.1448, allocations: 273.4 kB / 0.6565 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1448, allocations: 0 / 0.6565 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1448, allocations: 4 kB / 0.6565 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1448, allocations: 0 / 0.6565 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.1459, allocations: 0.6733 MB / 0.6571 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1459, allocations: 4 kB / 0.6571 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1461, allocations: 47.89 kB / 0.6572 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.1462, allocations: 7.938 kB / 0.6572 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1462, allocations: 8.125 kB / 0.6572 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1462, allocations: 4 kB / 0.6572 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1462, allocations: 0 / 0.6572 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005505/0.1468, allocations: 457.8 kB / 0.6576 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1469, allocations: 116.9 kB / 0.6577 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.1469, allocations: 11.88 kB / 0.6577 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1471, allocations: 19.98 kB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.1472, allocations: 7.984 kB / 0.6578 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1472, allocations: 7.984 kB / 0.6578 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1473, allocations: 135.2 kB / 0.6579 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1473, allocations: 0 / 0.6579 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004711/0.1478, allocations: 83.89 kB / 0.658 GB, free: 10.63 MB / 0.4981 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.0007962/0.1486, allocations: 0.9904 MB / 0.659 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007224/0.1493, allocations: 367.9 kB / 0.6593 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1494, allocations: 0 / 0.6593 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1496, allocations: 119.8 kB / 0.6594 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004784/0.1501, allocations: 37.41 kB / 0.6595 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002963/0.1531, allocations: 2.458 MB / 0.6619 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1534, allocations: 0.7441 MB / 0.6626 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.1536, allocations: 81.45 kB / 0.6627 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.1537, allocations: 47.42 kB / 0.6627 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1537, allocations: 0 / 0.6627 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.1722, allocations: 4.203 MB / 0.6668 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.858, allocations: 12.02 kB / 0.6668 GB, free: 1.496 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelResistors.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.pipe 2>&1)