Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.001299/0.001299, allocations: 99.39 kB / 16.4 MB, free: 6.438 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.001325/0.001325, allocations: 196 kB / 17.34 MB, free: 5.711 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.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8182/0.8182, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 77.61 kB / 0.5735 GB, free: 26.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 78.87 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004946/0.1354, allocations: 3.241 MB / 0.6537 GB, free: 352 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003306/0.1387, allocations: 2.015 MB / 0.6557 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1389, allocations: 7.938 kB / 0.6557 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000901/0.1398, allocations: 292.9 kB / 0.656 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.1403, allocations: 234.9 kB / 0.6562 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.1409, allocations: 291.3 kB / 0.6565 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.1414, allocations: 402.8 kB / 0.6569 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.1418, allocations: 208.4 kB / 0.6571 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002114/0.142, allocations: 163.4 kB / 0.6572 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003647/0.1424, allocations: 195.3 kB / 0.6574 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.1424, allocations: 24 kB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.1429, allocations: 271.5 kB / 0.6577 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.143, allocations: 119.7 kB / 0.6578 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.1432, allocations: 151.2 kB / 0.6579 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.1438, allocations: 498.2 kB / 0.6584 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1439, allocations: 0 / 0.6584 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1439, allocations: 0 / 0.6584 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.1439, allocations: 0 / 0.6584 GB, free: 11.52 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001102/0.145, allocations: 0.6037 MB / 0.659 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.145, allocations: 12.03 kB / 0.659 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.533e-05/0.1451, allocations: 66.7 kB / 0.6591 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.1461, allocations: 112.6 kB / 0.6592 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.1465, allocations: 285.2 kB / 0.6595 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.1465, allocations: 20.92 kB / 0.6595 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.1467, allocations: 32.5 kB / 0.6595 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.1474, allocations: 457.1 kB / 0.6599 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.1474, allocations: 7.938 kB / 0.66 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.1475, allocations: 7.984 kB / 0.66 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.1476, allocations: 44.53 kB / 0.66 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006781/0.1483, allocations: 365.9 kB / 0.6604 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.151, allocations: 2.214 MB / 0.6625 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.1515, allocations: 266.4 kB / 0.6628 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.1518, allocations: 164.8 kB / 0.6629 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.1518, allocations: 0 / 0.6629 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.1518, allocations: 42.55 kB / 0.663 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.925e-06/0.1518, allocations: 0 / 0.663 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23): time 0.001915/0.1538, allocations: 1.065 MB / 0.664 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1538, allocations: 51.41 kB / 0.6641 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003342/0.1542, allocations: 260.9 kB / 0.6643 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.1542, allocations: 33.7 kB / 0.6643 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.1543, allocations: 180.4 kB / 0.6645 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.1544, allocations: 91.22 kB / 0.6646 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.1546, allocations: 81.62 kB / 0.6647 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1547, allocations: 326.8 kB / 0.665 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.1551, allocations: 167.9 kB / 0.6651 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.1554, allocations: 237.6 kB / 0.6654 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006354/0.1561, allocations: 418.7 kB / 0.6658 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.1561, allocations: 3.938 kB / 0.6658 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00132/0.1574, allocations: 0.5927 MB / 0.6664 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1575, allocations: 8 kB / 0.6664 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1575, allocations: 4 kB / 0.6664 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.1582, allocations: 184.9 kB / 0.6665 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.1585, allocations: 71.83 kB / 0.6666 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003206/0.1617, allocations: 2.505 MB / 0.6691 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.1621, allocations: 20.02 kB / 0.6691 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.1622, allocations: 19.98 kB / 0.6691 GB, free: 15.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.1624, allocations: 169.8 kB / 0.6693 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.327e-05/0.1625, allocations: 31.78 kB / 0.6693 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.1631, allocations: 347.5 kB / 0.6696 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1631, allocations: 4 kB / 0.6696 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.1631, allocations: 0 / 0.6696 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.1631, allocations: 0 / 0.6696 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.1643, allocations: 0.8121 MB / 0.6704 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1643, allocations: 4.062 kB / 0.6704 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.1647, allocations: 79.88 kB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.1647, allocations: 4 kB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.1648, allocations: 4 kB / 0.6705 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1648, allocations: 4 kB / 0.6705 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1648, allocations: 0 / 0.6705 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008622/0.1657, allocations: 0.6219 MB / 0.6711 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1658, allocations: 129 kB / 0.6712 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1659, allocations: 8 kB / 0.6712 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.1661, allocations: 15.98 kB / 0.6713 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.1662, allocations: 19.91 kB / 0.6713 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1662, allocations: 8 kB / 0.6713 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002581/0.1665, allocations: 188.5 kB / 0.6715 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1665, allocations: 0 / 0.6715 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004086/0.1669, allocations: 88 kB / 0.6716 GB, free: 13.26 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0012/0.1681, allocations: 1.159 MB / 0.6727 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.1691, allocations: 0.5411 MB / 0.6732 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1691, allocations: 0 / 0.6732 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.1694, allocations: 149.5 kB / 0.6734 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/0.1699, allocations: 67.14 kB / 0.6734 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005579/0.1754, allocations: 3.715 MB / 0.677 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1759, allocations: 0.8027 MB / 0.6778 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002294/0.1761, allocations: 74.91 kB / 0.6779 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.1763, allocations: 83.41 kB / 0.678 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1763, allocations: 0 / 0.678 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03255/0.2089, allocations: 6.925 MB / 0.6847 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.26, allocations: 5.375 kB / 0.6847 GB, free: 15.67 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_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_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1)