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.00128/0.00128, allocations: 107.9 kB / 16.41 MB, free: 6.445 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.001292/0.001292, 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.379/1.379, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8255/0.8255, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.39 kB / 0.5735 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 78.87 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.004143/0.1393, allocations: 2.625 MB / 0.6531 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1415, allocations: 1.321 MB / 0.6544 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1416, allocations: 7.938 kB / 0.6544 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.1423, allocations: 175.2 kB / 0.6546 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003867/0.1427, allocations: 167.3 kB / 0.6547 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1431, allocations: 167.6 kB / 0.6549 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.1435, allocations: 255.2 kB / 0.6551 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.1438, allocations: 149.7 kB / 0.6553 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.144, allocations: 99.67 kB / 0.6554 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002649/0.1442, allocations: 139.5 kB / 0.6555 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1443, allocations: 16 kB / 0.6555 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002526/0.1445, allocations: 139.7 kB / 0.6557 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.1446, allocations: 63.88 kB / 0.6557 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1448, allocations: 95.45 kB / 0.6558 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1452, allocations: 294.9 kB / 0.6561 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1452, allocations: 0 / 0.6561 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1452, allocations: 0 / 0.6561 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1452, allocations: 0 / 0.6561 GB, free: 13.92 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000813/0.146, allocations: 0.5025 MB / 0.6566 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1461, allocations: 12.03 kB / 0.6566 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.1461, allocations: 50.72 kB / 0.6566 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.1466, allocations: 68.72 kB / 0.6567 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.1469, allocations: 250.9 kB / 0.6569 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.147, allocations: 20.62 kB / 0.657 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.147, allocations: 16.38 kB / 0.657 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005381/0.1476, allocations: 308.3 kB / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1476, allocations: 0 / 0.6573 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.1476, allocations: 8 kB / 0.6573 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.1477, allocations: 32.25 kB / 0.6573 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.1482, allocations: 256.5 kB / 0.6576 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1499, allocations: 1.495 MB / 0.659 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.1505, allocations: 261 kB / 0.6593 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.1507, allocations: 129.6 kB / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.1508, allocations: 0 / 0.6594 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1508, allocations: 30.56 kB / 0.6594 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1508, allocations: 4 kB / 0.6594 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0008273/0.1517, allocations: 348.1 kB / 0.6598 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.1517, allocations: 77.11 kB / 0.6598 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1519, allocations: 186.6 kB / 0.66 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.152, allocations: 25.7 kB / 0.66 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.84e-05/0.1521, allocations: 148.3 kB / 0.6602 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.1521, allocations: 51.52 kB / 0.6602 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.564e-05/0.1522, allocations: 57.78 kB / 0.6603 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1524, allocations: 330.8 kB / 0.6606 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.1526, allocations: 104.8 kB / 0.6607 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.1529, allocations: 171.6 kB / 0.6609 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.1534, allocations: 277.3 kB / 0.6611 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.1535, allocations: 0 / 0.6611 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000595/0.1541, allocations: 305.3 kB / 0.6614 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1541, allocations: 8.219 kB / 0.6614 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1541, allocations: 4 kB / 0.6614 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1541, allocations: 0 / 0.6614 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.1544, allocations: 55.89 kB / 0.6615 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1544, allocations: 4 kB / 0.6615 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002003/0.1546, allocations: 35.81 kB / 0.6615 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1547, allocations: 15.94 kB / 0.6615 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000273/0.1549, allocations: 188.1 kB / 0.6617 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002485/0.1552, allocations: 160.5 kB / 0.6619 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004287/0.1556, allocations: 250.6 kB / 0.6621 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/0.1557, allocations: 4 kB / 0.6621 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005325/0.1562, allocations: 281.2 kB / 0.6624 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1562, allocations: 8 kB / 0.6624 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.1562, allocations: 0 / 0.6624 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.1562, allocations: 4 kB / 0.6624 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.1565, allocations: 55.89 kB / 0.6624 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1565, allocations: 4.25 kB / 0.6624 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.1567, allocations: 31.88 kB / 0.6625 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1567, allocations: 19.92 kB / 0.6625 GB, free: 6.875 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.0001481/0.1568, allocations: 192.1 kB / 0.6627 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.1569, allocations: 19.89 kB / 0.6627 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005777/0.1575, allocations: 263 kB / 0.6629 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1575, allocations: 4 kB / 0.6629 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.1575, allocations: 4 kB / 0.6629 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1575, allocations: 3.984 kB / 0.663 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1586, allocations: 0.6694 MB / 0.6636 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1587, allocations: 4 kB / 0.6636 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.1589, allocations: 56.02 kB / 0.6637 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.1589, allocations: 3.938 kB / 0.6637 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1589, allocations: 4 kB / 0.6637 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1589, allocations: 3.984 kB / 0.6637 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.159, allocations: 4 kB / 0.6637 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.1596, allocations: 453.8 kB / 0.6641 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1597, allocations: 113 kB / 0.6642 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.1597, allocations: 7.875 kB / 0.6642 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.1599, allocations: 23.97 kB / 0.6643 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.16, allocations: 11.98 kB / 0.6643 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.16, allocations: 4 kB / 0.6643 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001145/0.1601, allocations: 139.2 kB / 0.6644 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1601, allocations: 0 / 0.6644 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004751/0.1606, allocations: 83.84 kB / 0.6645 GB, free: 4.707 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.0009114/0.1615, allocations: 0.9872 MB / 0.6654 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00075/0.1623, allocations: 371.6 kB / 0.6658 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1623, allocations: 0 / 0.6658 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.1626, allocations: 116.9 kB / 0.6659 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.1631, allocations: 42.55 kB / 0.6659 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.1662, allocations: 2.472 MB / 0.6684 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.1666, allocations: 0.744 MB / 0.6691 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.1668, allocations: 73.48 kB / 0.6692 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.1669, allocations: 51.41 kB / 0.6692 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1669, allocations: 0 / 0.6692 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02507/0.192, allocations: 4.198 MB / 0.6733 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.357/8.549, allocations: 13.53 kB / 0.6733 GB, free: 11.57 MB / 0.5137 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)