Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001274/0.001274, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001481/0.001481, allocations: 217.2 kB / 22.26 MB, free: 5.125 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.988 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.002441/0.002441, allocations: 287.8 kB / 312.7 MB, free: 2.805 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.166/1.166, 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.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.002931/0.002931, allocations: 101.2 kB / 0.7396 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1649, allocations: 95.38 MB / 0.8327 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006514/0.1714, allocations: 5.016 MB / 0.8376 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.1756, allocations: 2.561 MB / 0.8401 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003008/0.1759, allocations: 31.62 kB / 0.8402 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.1771, allocations: 421.9 kB / 0.8406 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009177/0.178, allocations: 473.6 kB / 0.841 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.1788, allocations: 378 kB / 0.8414 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00103/0.1798, allocations: 0.9138 MB / 0.8423 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005015/0.1803, allocations: 322.6 kB / 0.8426 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.1809, allocations: 366.6 kB / 0.8429 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005021/0.1814, allocations: 358.5 kB / 0.8433 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.1814, allocations: 36 kB / 0.8433 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006877/0.1821, allocations: 415.1 kB / 0.8437 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1823, allocations: 187.3 kB / 0.8439 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.1826, allocations: 318.2 kB / 0.8442 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.1836, allocations: 0.8832 MB / 0.845 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1836, allocations: 4 kB / 0.845 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1836, allocations: 3.938 kB / 0.8451 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.1836, allocations: 0 / 0.8451 GB, free: 12.04 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001438/0.1851, allocations: 0.8819 MB / 0.8459 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1851, allocations: 13.34 kB / 0.8459 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.1852, allocations: 90.69 kB / 0.846 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/0.1864, allocations: 208.2 kB / 0.8462 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008455/0.1872, allocations: 484.8 kB / 0.8467 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.1873, allocations: 33.38 kB / 0.8467 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.502e-05/0.1873, allocations: 48.36 kB / 0.8468 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.1884, allocations: 0.8483 MB / 0.8476 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.1885, allocations: 7.938 kB / 0.8476 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.396e-05/0.1885, allocations: 23.98 kB / 0.8476 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.895e-05/0.1886, allocations: 68.95 kB / 0.8477 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.1894, allocations: 0.5656 MB / 0.8482 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004699/0.1941, allocations: 5.582 MB / 0.8537 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006609/0.1948, allocations: 422.3 kB / 0.8541 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1951, allocations: 200.7 kB / 0.8543 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1951, allocations: 7.938 kB / 0.8543 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.1952, allocations: 43.09 kB / 0.8543 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.854e-06/0.1952, allocations: 0 / 0.8543 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002432/0.1976, allocations: 1.134 MB / 0.8554 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1977, allocations: 55.69 kB / 0.8555 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000522/0.1982, allocations: 0.4911 MB / 0.856 GB, free: 224 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.1982, allocations: 33.7 kB / 0.856 GB, free: 184 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1985, allocations: 363.9 kB / 0.8563 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1986, allocations: 126.9 kB / 0.8565 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1987, allocations: 114.2 kB / 0.8566 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1989, allocations: 362.8 kB / 0.8569 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.1993, allocations: 197.2 kB / 0.8571 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.1998, allocations: 447.3 kB / 0.8575 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.2006, allocations: 0.6835 MB / 0.8582 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.2006, allocations: 8 kB / 0.8582 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001289/0.2019, allocations: 0.806 MB / 0.859 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.2019, allocations: 8 kB / 0.859 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.2019, allocations: 16.09 kB / 0.859 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/0.2024, allocations: 156.1 kB / 0.8592 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.2029, allocations: 127.7 kB / 0.8593 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003432/0.2063, allocations: 4.038 MB / 0.8632 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.2067, allocations: 31.97 kB / 0.8633 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.2067, allocations: 28 kB / 0.8633 GB, free: 8.078 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002803/0.207, allocations: 224.5 kB / 0.8635 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.124e-05/0.2071, allocations: 67.69 kB / 0.8636 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.2082, allocations: 0.5968 MB / 0.8641 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2082, allocations: 4 kB / 0.8642 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2082, allocations: 0 / 0.8642 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.2082, allocations: 0 / 0.8642 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.2101, allocations: 1.233 MB / 0.8654 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2101, allocations: 0 / 0.8654 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2104, allocations: 59.89 kB / 0.8654 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.2108, allocations: 148.3 kB / 0.8656 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.2108, allocations: 8 kB / 0.8656 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003371/0.2142, allocations: 4.019 MB / 0.8695 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.2142, allocations: 8.094 kB / 0.8695 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2153, allocations: 0.7046 MB / 0.8702 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000266/0.2156, allocations: 95.53 kB / 0.8703 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.2156, allocations: 11.98 kB / 0.8703 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.2159, allocations: 19.97 kB / 0.8703 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.216, allocations: 39.83 kB / 0.8703 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.216, allocations: 8 kB / 0.8704 GB, free: 324 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000377/0.2164, allocations: 334.8 kB / 0.8707 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2164, allocations: 0 / 0.8707 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006223/0.217, allocations: 144 kB / 0.8708 GB, free: 15.85 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.2183, allocations: 1.253 MB / 0.872 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.2198, allocations: 0.8658 MB / 0.8729 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2198, allocations: 0 / 0.8729 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/0.2206, allocations: 0.5689 MB / 0.8734 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.2216, allocations: 207.6 kB / 0.8736 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006337/0.2279, allocations: 5.122 MB / 0.8786 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.2284, allocations: 0.9019 MB / 0.8795 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.2287, allocations: 125.2 kB / 0.8796 GB, free: 6.246 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.229, allocations: 195.4 kB / 0.8798 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of SimCode: time 6.51e-07/0.229, allocations: 0 / 0.8798 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.278, allocations: 13.24 MB / 0.8927 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.95, allocations: 7.234 kB / 0.8928 GB, free: 9.086 MB / 0.6387 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_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_TestImpedance.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.969663547999517] Failed to read output from testmodel.py, exit status != 0: 12.070222590999037 12.096533122 11.908327532 Calling exit ...