Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 108.3 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.324/1.324, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00234/0.00234, allocations: 285.7 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 180.9 MB / 0.5333 GB, free: 13.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 103.7 kB / 0.7342 GB, free: 28.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1447, allocations: 95.34 MB / 0.8274 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005009/0.1497, allocations: 3.803 MB / 0.8311 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.1524, allocations: 1.836 MB / 0.8329 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1525, allocations: 27.75 kB / 0.8329 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.1533, allocations: 270.6 kB / 0.8331 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005371/0.1539, allocations: 314.4 kB / 0.8334 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1543, allocations: 243.5 kB / 0.8337 GB, free: 3.375 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006128/0.1549, allocations: 0.6088 MB / 0.8343 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1553, allocations: 218.8 kB / 0.8345 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003277/0.1556, allocations: 251.1 kB / 0.8347 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.1559, allocations: 242.9 kB / 0.835 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.518e-05/0.156, allocations: 32 kB / 0.835 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.1563, allocations: 283.4 kB / 0.8353 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1565, allocations: 123.6 kB / 0.8354 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.1567, allocations: 206.9 kB / 0.8356 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.1573, allocations: 0.5874 MB / 0.8361 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1573, allocations: 0 / 0.8361 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1573, allocations: 0 / 0.8361 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1573, allocations: 0 / 0.8361 GB, free: 0.8359 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001071/0.1584, allocations: 0.7529 MB / 0.8369 GB, free: 36 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1584, allocations: 12.03 kB / 0.8369 GB, free: 24 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.89e-05/0.1585, allocations: 74.7 kB / 0.837 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.1593, allocations: 132.5 kB / 0.8371 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.1598, allocations: 419.9 kB / 0.8375 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.1599, allocations: 21.03 kB / 0.8375 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.1599, allocations: 24.38 kB / 0.8375 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000784/0.1607, allocations: 0.5586 MB / 0.8381 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1607, allocations: 3.938 kB / 0.8381 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1608, allocations: 16 kB / 0.8381 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.079e-05/0.1608, allocations: 40.53 kB / 0.8381 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.1615, allocations: 413.7 kB / 0.8385 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002813/0.1643, allocations: 3.338 MB / 0.8418 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006221/0.1649, allocations: 309.3 kB / 0.8421 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1652, allocations: 164.7 kB / 0.8422 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1653, allocations: 11.94 kB / 0.8422 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.1653, allocations: 34.5 kB / 0.8423 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.1653, allocations: 0 / 0.8423 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.002008/0.1673, allocations: 1.066 MB / 0.8433 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1673, allocations: 51.64 kB / 0.8434 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003273/0.1677, allocations: 341.6 kB / 0.8437 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1677, allocations: 33.7 kB / 0.8437 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1678, allocations: 252.1 kB / 0.844 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.668e-05/0.1679, allocations: 99.11 kB / 0.8441 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.168, allocations: 82.08 kB / 0.8441 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1682, allocations: 342.8 kB / 0.8445 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1685, allocations: 148.8 kB / 0.8446 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003718/0.1688, allocations: 297.3 kB / 0.8449 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.1695, allocations: 481.8 kB / 0.8454 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1695, allocations: 0 / 0.8454 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009667/0.1705, allocations: 0.5585 MB / 0.8459 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1705, allocations: 16.02 kB / 0.8459 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1705, allocations: 4 kB / 0.8459 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.1708, allocations: 90.39 kB / 0.846 GB, free: 6.035 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.1711, allocations: 87.88 kB / 0.8461 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.1711, allocations: 15.86 kB / 0.8461 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.1714, allocations: 31.97 kB / 0.8461 GB, free: 5.902 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.1714, allocations: 20 kB / 0.8462 GB, free: 5.883 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.1716, allocations: 169.8 kB / 0.8463 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1716, allocations: 39.77 kB / 0.8464 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.1725, allocations: 469.2 kB / 0.8468 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1725, allocations: 0 / 0.8468 GB, free: 5.195 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.1725, allocations: 7.938 kB / 0.8468 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1725, allocations: 0 / 0.8468 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.174, allocations: 0.9669 MB / 0.8478 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.174, allocations: 4 kB / 0.8478 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1742, allocations: 43.95 kB / 0.8478 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002379/0.1744, allocations: 86.45 kB / 0.8479 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.1745, allocations: 11.98 kB / 0.8479 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1745, allocations: 0 / 0.8479 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1745, allocations: 0 / 0.8479 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.1753, allocations: 0.541 MB / 0.8484 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1754, allocations: 144.7 kB / 0.8486 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1755, allocations: 12 kB / 0.8486 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.1757, allocations: 27.91 kB / 0.8486 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.1758, allocations: 27.91 kB / 0.8486 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1758, allocations: 4 kB / 0.8486 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002331/0.176, allocations: 235.2 kB / 0.8489 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.176, allocations: 0 / 0.8489 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003912/0.1764, allocations: 88 kB / 0.8489 GB, free: 2.875 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.1776, allocations: 1.097 MB / 0.85 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008884/0.1785, allocations: 0.6238 MB / 0.8506 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1785, allocations: 4.125 kB / 0.8506 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.179, allocations: 413.7 kB / 0.851 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006578/0.1796, allocations: 135.5 kB / 0.8511 GB, free: 456 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.1843, allocations: 3.725 MB / 0.8548 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1847, allocations: 0.8308 MB / 0.8556 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.1849, allocations: 75.36 kB / 0.8557 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.1851, allocations: 127.4 kB / 0.8558 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.1851, allocations: 4 kB / 0.8558 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03271/0.2178, allocations: 8.384 MB / 0.864 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.408/9.625, allocations: 5.844 kB / 0.864 GB, free: 3.301 MB / 0.6075 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.385956168174744] Failed to read output from testmodel.py, exit status != 0: 9.714282536879182 9.730873614 9.57051568 Calling exit ...