Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",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.001287/0.001287, allocations: 108 kB / 16.41 MB, free: 6.512 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.002038/0.002038, allocations: 189.2 kB / 17.34 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.342/1.342, 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.7538/0.7538, allocations: 122.9 MB / 414.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 62.67 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 77.94 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads): time 0.005375/0.1243, allocations: 4.184 MB / 0.6482 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.1285, allocations: 2.81 MB / 0.6509 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.1287, allocations: 11.94 kB / 0.6509 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.1298, allocations: 362.3 kB / 0.6513 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008352/0.1306, allocations: 426.1 kB / 0.6517 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.1317, allocations: 0.5017 MB / 0.6521 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007225/0.1324, allocations: 0.7048 MB / 0.6528 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.1329, allocations: 335.3 kB / 0.6532 GB, free: 228 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.1333, allocations: 287 kB / 0.6534 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.1338, allocations: 330.8 kB / 0.6537 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.1339, allocations: 40 kB / 0.6538 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.1344, allocations: 331.3 kB / 0.6541 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.1345, allocations: 199.4 kB / 0.6543 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000226/0.1348, allocations: 254.7 kB / 0.6545 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000767/0.1356, allocations: 0.7394 MB / 0.6553 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1356, allocations: 0 / 0.6553 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.554e-06/0.1356, allocations: 4 kB / 0.6553 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1356, allocations: 3.938 kB / 0.6553 GB, free: 14.06 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001311/0.1369, allocations: 0.8351 MB / 0.6561 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.1369, allocations: 8.625 kB / 0.6561 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.181e-05/0.137, allocations: 86.69 kB / 0.6562 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.1384, allocations: 204.3 kB / 0.6564 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/0.1389, allocations: 371.3 kB / 0.6567 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1389, allocations: 37.36 kB / 0.6568 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.577e-05/0.139, allocations: 44.31 kB / 0.6568 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.1403, allocations: 0.8369 MB / 0.6576 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1403, allocations: 11.94 kB / 0.6576 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.546e-05/0.1404, allocations: 20 kB / 0.6576 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/0.1404, allocations: 68.59 kB / 0.6577 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1417, allocations: 0.6657 MB / 0.6584 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003859/0.1456, allocations: 4.651 MB / 0.6629 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1467, allocations: 0.5009 MB / 0.6634 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/0.1472, allocations: 289.5 kB / 0.6637 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.1473, allocations: 11.98 kB / 0.6637 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.173e-05/0.1473, allocations: 38.5 kB / 0.6637 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.1473, allocations: 0 / 0.6637 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=34): time 0.001914/0.1493, allocations: 0.8941 MB / 0.6646 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1493, allocations: 81.11 kB / 0.6647 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.1497, allocations: 377.5 kB / 0.665 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.006e-05/0.1498, allocations: 33.7 kB / 0.6651 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1499, allocations: 295.9 kB / 0.6653 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.15, allocations: 126.9 kB / 0.6655 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.1502, allocations: 114.1 kB / 0.6656 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1504, allocations: 354.7 kB / 0.6659 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.1509, allocations: 270.9 kB / 0.6662 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006578/0.1516, allocations: 482.5 kB / 0.6666 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.1528, allocations: 0.776 MB / 0.6674 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1528, allocations: 0 / 0.6674 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001454/0.1543, allocations: 0.7894 MB / 0.6682 GB, free: 0 / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.1543, allocations: 9.922 kB / 0.6682 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.1544, allocations: 11.94 kB / 0.6682 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1544, allocations: 8 kB / 0.6682 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.1551, allocations: 164.3 kB / 0.6683 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.1551, allocations: 23.88 kB / 0.6684 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005598/0.1557, allocations: 71.81 kB / 0.6684 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.1558, allocations: 31.98 kB / 0.6685 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006102/0.1564, allocations: 357 kB / 0.6688 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006099/0.157, allocations: 461.1 kB / 0.6692 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001061/0.1581, allocations: 0.6736 MB / 0.6699 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.1581, allocations: 4 kB / 0.6699 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001319/0.1594, allocations: 0.6868 MB / 0.6706 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1595, allocations: 12 kB / 0.6706 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1595, allocations: 11.98 kB / 0.6706 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1595, allocations: 8 kB / 0.6706 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/0.1601, allocations: 152.2 kB / 0.6707 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.1601, allocations: 19.94 kB / 0.6708 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004908/0.1606, allocations: 63.78 kB / 0.6708 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.1607, allocations: 28 kB / 0.6709 GB, free: 13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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.0001544/0.1608, allocations: 220 kB / 0.6711 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-05/0.1609, allocations: 39.77 kB / 0.6711 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.162, allocations: 0.5796 MB / 0.6717 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.162, allocations: 4 kB / 0.6717 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1621, allocations: 4 kB / 0.6717 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1621, allocations: 3.984 kB / 0.6717 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/0.1646, allocations: 1.617 MB / 0.6733 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1646, allocations: 4 kB / 0.6733 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.1651, allocations: 107.8 kB / 0.6734 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.1651, allocations: 4.469 kB / 0.6734 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.1652, allocations: 20 kB / 0.6734 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.1652, allocations: 7.938 kB / 0.6734 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.1652, allocations: 8 kB / 0.6734 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1662, allocations: 0.7837 MB / 0.6742 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.1665, allocations: 168.7 kB / 0.6743 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.1665, allocations: 12 kB / 0.6743 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/0.167, allocations: 55.86 kB / 0.6744 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.885e-05/0.1671, allocations: 31.91 kB / 0.6744 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.1672, allocations: 12 kB / 0.6744 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003462/0.1675, allocations: 271.1 kB / 0.6747 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.505e-06/0.1675, allocations: 4 kB / 0.6747 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008578/0.1684, allocations: 195.9 kB / 0.6749 GB, free: 8.676 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.001351/0.1697, allocations: 1.342 MB / 0.6762 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.1715, allocations: 0.9443 MB / 0.6771 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1716, allocations: 0 / 0.6771 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004799/0.172, allocations: 269.9 kB / 0.6774 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.1729, allocations: 119.4 kB / 0.6775 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.1794, allocations: 4.853 MB / 0.6822 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.1798, allocations: 0.8709 MB / 0.6831 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005692/0.1804, allocations: 212 kB / 0.6833 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/0.1806, allocations: 147.4 kB / 0.6834 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.1806, allocations: 0 / 0.6834 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.2068, allocations: 10.29 MB / 0.6935 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.87/8.077, allocations: 13.88 kB / 0.6935 GB, free: 5.328 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_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_ParallelLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1)