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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001471/0.001471, allocations: 215.2 kB / 22.25 MB, free: 5.113 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002491/0.002491, allocations: 287.2 kB / 312.7 MB, free: 2.82 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.182/1.182, allocations: 180.6 MB / 0.5369 GB, free: 13 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002919/0.002919, allocations: 108.2 kB / 0.7396 GB, free: 28.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1542, allocations: 95.38 MB / 0.8327 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005579/0.1597, allocations: 3.882 MB / 0.8365 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003144/0.1629, allocations: 1.879 MB / 0.8384 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.1631, allocations: 27.75 kB / 0.8384 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.164, allocations: 270.6 kB / 0.8386 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.1647, allocations: 314.4 kB / 0.8389 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005819/0.1653, allocations: 248.8 kB / 0.8392 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007184/0.166, allocations: 0.613 MB / 0.8398 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.1664, allocations: 226.8 kB / 0.84 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.1668, allocations: 263.1 kB / 0.8402 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003654/0.1671, allocations: 243 kB / 0.8405 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.942e-05/0.1672, allocations: 24 kB / 0.8405 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.1677, allocations: 283.4 kB / 0.8408 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.1678, allocations: 127.6 kB / 0.8409 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.168, allocations: 210.8 kB / 0.8411 GB, free: 52 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007743/0.1688, allocations: 0.5875 MB / 0.8417 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1688, allocations: 4 kB / 0.8417 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1688, allocations: 0 / 0.8417 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.1688, allocations: 0 / 0.8417 GB, free: 15.46 MB / 0.5919 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.001202/0.17, allocations: 0.6643 MB / 0.8423 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1701, allocations: 13.34 kB / 0.8423 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.46e-05/0.1702, allocations: 70.72 kB / 0.8424 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.171, allocations: 140.5 kB / 0.8425 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.1717, allocations: 345.3 kB / 0.8429 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1717, allocations: 25.02 kB / 0.8429 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.1717, allocations: 28.38 kB / 0.8429 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.1726, allocations: 0.5509 MB / 0.8434 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1726, allocations: 7.922 kB / 0.8435 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.778e-05/0.1726, allocations: 19.98 kB / 0.8435 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.1727, allocations: 48.56 kB / 0.8435 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.1734, allocations: 402.1 kB / 0.8439 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.1765, allocations: 3.271 MB / 0.8471 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.1771, allocations: 306.5 kB / 0.8474 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.1774, allocations: 160.8 kB / 0.8475 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1775, allocations: 11.88 kB / 0.8476 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1775, allocations: 34.56 kB / 0.8476 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.883e-06/0.1775, allocations: 0 / 0.8476 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=27): time 0.001994/0.1795, allocations: 0.8487 MB / 0.8484 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1795, allocations: 59.58 kB / 0.8485 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.1799, allocations: 337.6 kB / 0.8488 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.1799, allocations: 29.7 kB / 0.8488 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1801, allocations: 256 kB / 0.8491 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.1802, allocations: 103.2 kB / 0.8492 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1803, allocations: 70.09 kB / 0.8492 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1805, allocations: 350.8 kB / 0.8496 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1807, allocations: 144.8 kB / 0.8497 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.1811, allocations: 294.5 kB / 0.85 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006842/0.1818, allocations: 482.3 kB / 0.8504 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1818, allocations: 4 kB / 0.8505 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001005/0.1828, allocations: 0.5618 MB / 0.851 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1828, allocations: 8 kB / 0.851 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1828, allocations: 4 kB / 0.851 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003175/0.1831, allocations: 91.06 kB / 0.8511 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.1835, allocations: 91.81 kB / 0.8512 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.1835, allocations: 11.94 kB / 0.8512 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.1838, allocations: 23.97 kB / 0.8512 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.1838, allocations: 20 kB / 0.8512 GB, free: 5.047 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.0002063/0.184, allocations: 186.3 kB / 0.8514 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.877e-05/0.1841, allocations: 39.77 kB / 0.8515 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.185, allocations: 460.5 kB / 0.8519 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.185, allocations: 4 kB / 0.8519 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.185, allocations: 0 / 0.8519 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.185, allocations: 3.984 kB / 0.8519 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1865, allocations: 0.9355 MB / 0.8528 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1865, allocations: 0 / 0.8528 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1867, allocations: 55.89 kB / 0.8529 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000247/0.1869, allocations: 86.59 kB / 0.853 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.187, allocations: 4 kB / 0.853 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.187, allocations: 4 kB / 0.853 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.187, allocations: 0 / 0.853 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/0.1878, allocations: 0.5469 MB / 0.8535 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.188, allocations: 63.69 kB / 0.8536 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.188, allocations: 4 kB / 0.8536 GB, free: 2.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.1882, allocations: 31.84 kB / 0.8536 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.1883, allocations: 23.95 kB / 0.8536 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.1883, allocations: 8 kB / 0.8536 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002357/0.1886, allocations: 239.1 kB / 0.8538 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1886, allocations: 0 / 0.8538 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004084/0.189, allocations: 88 kB / 0.8539 GB, free: 2.156 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.001152/0.1901, allocations: 1.083 MB / 0.855 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008085/0.1909, allocations: 410.7 kB / 0.8554 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1909, allocations: 4 kB / 0.8554 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.1913, allocations: 191.6 kB / 0.8556 GB, free: 428 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006755/0.192, allocations: 135.1 kB / 0.8557 GB, free: 304 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.1969, allocations: 3.731 MB / 0.8593 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.1974, allocations: 0.8308 MB / 0.8602 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.1976, allocations: 79.34 kB / 0.8602 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1978, allocations: 131.3 kB / 0.8604 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.1978, allocations: 3.938 kB / 0.8604 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03723/0.235, allocations: 8.655 MB / 0.8688 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.57, allocations: 18.47 kB / 0.8688 GB, free: 2.816 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.597411020000436] Failed to read output from testmodel.py, exit status != 0: 11.683126879001065 11.698970607 11.527039485 Calling exit ...