Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001329/0.001329, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001545/0.001545, allocations: 208.8 kB / 22.99 MB, free: 4.609 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9793/0.9793, allocations: 149.9 MB / 463 MB, free: 10.36 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002178/0.002178, allocations: 60.75 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1925, allocations: 89.19 MB / 0.7282 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006132/0.1987, allocations: 3.606 MB / 0.7317 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.202, allocations: 1.754 MB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003275/0.2023, allocations: 23.75 kB / 0.7334 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000983/0.2033, allocations: 266.7 kB / 0.7337 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007944/0.2041, allocations: 314.4 kB / 0.734 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006222/0.2047, allocations: 246.1 kB / 0.7342 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008166/0.2055, allocations: 0.6091 MB / 0.7348 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004489/0.206, allocations: 238.8 kB / 0.735 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004987/0.2065, allocations: 247.1 kB / 0.7353 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.2069, allocations: 230.9 kB / 0.7355 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.207, allocations: 28 kB / 0.7355 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.2075, allocations: 247.4 kB / 0.7358 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.2076, allocations: 119.6 kB / 0.7359 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.2078, allocations: 175.1 kB / 0.736 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007709/0.2086, allocations: 0.5914 MB / 0.7366 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2086, allocations: 0 / 0.7366 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2086, allocations: 0 / 0.7366 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.2086, allocations: 3.938 kB / 0.7366 GB, free: 8.336 MB / 0.5606 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.00128/0.2099, allocations: 0.672 MB / 0.7373 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2099, allocations: 16.03 kB / 0.7373 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.192e-05/0.21, allocations: 74.7 kB / 0.7374 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008928/0.2109, allocations: 132.5 kB / 0.7375 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.2116, allocations: 341.4 kB / 0.7378 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.2116, allocations: 25.03 kB / 0.7378 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.677e-05/0.2117, allocations: 36.31 kB / 0.7379 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009694/0.2126, allocations: 0.6352 MB / 0.7385 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.2127, allocations: 4 kB / 0.7385 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.2127, allocations: 12 kB / 0.7385 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.2128, allocations: 44.62 kB / 0.7385 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007626/0.2135, allocations: 410 kB / 0.7389 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.2167, allocations: 2.745 MB / 0.7416 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.2174, allocations: 314.5 kB / 0.7419 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003004/0.2177, allocations: 160.7 kB / 0.7421 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.2177, allocations: 4 kB / 0.7421 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2178, allocations: 38.56 kB / 0.7421 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=26): time 2.245e-06/0.2178, allocations: 0 / 0.7421 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27): time 0.001996/0.2198, allocations: 0.8405 MB / 0.7429 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.2198, allocations: 55.64 kB / 0.743 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003906/0.2202, allocations: 349.5 kB / 0.7433 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/0.2202, allocations: 33.7 kB / 0.7433 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.2205, allocations: 248.2 kB / 0.7436 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.845e-05/0.2206, allocations: 103.1 kB / 0.7437 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.2207, allocations: 78.08 kB / 0.7438 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.2209, allocations: 350.8 kB / 0.7441 GB, free: 316 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.2212, allocations: 152.7 kB / 0.7442 GB, free: 164 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.2216, allocations: 282.5 kB / 0.7445 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.2223, allocations: 494.2 kB / 0.745 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2223, allocations: 0 / 0.745 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001036/0.2233, allocations: 0.5579 MB / 0.7455 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2234, allocations: 10.03 kB / 0.7455 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.2234, allocations: 4 kB / 0.7455 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003126/0.2237, allocations: 94.38 kB / 0.7456 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.224, allocations: 88.44 kB / 0.7457 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.224, allocations: 15.88 kB / 0.7457 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.2243, allocations: 27.97 kB / 0.7458 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2243, allocations: 20 kB / 0.7458 GB, free: 14.44 MB / 0.5762 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.000198/0.2245, allocations: 165.8 kB / 0.7459 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.71e-05/0.2246, allocations: 47.7 kB / 0.746 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009003/0.2255, allocations: 472.5 kB / 0.7464 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2255, allocations: 4 kB / 0.7464 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.2255, allocations: 0 / 0.7464 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2255, allocations: 0 / 0.7464 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2271, allocations: 0.8973 MB / 0.7473 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2271, allocations: 0 / 0.7473 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2273, allocations: 55.89 kB / 0.7474 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002349/0.2275, allocations: 82.61 kB / 0.7474 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2276, allocations: 4 kB / 0.7474 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.2276, allocations: 7.938 kB / 0.7475 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/0.2276, allocations: 7.984 kB / 0.7475 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.2285, allocations: 0.543 MB / 0.748 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.2286, allocations: 59.73 kB / 0.748 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.2287, allocations: 8 kB / 0.7481 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2289, allocations: 31.91 kB / 0.7481 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.229, allocations: 23.89 kB / 0.7481 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.229, allocations: 8 kB / 0.7481 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002416/0.2292, allocations: 235.2 kB / 0.7483 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2292, allocations: 0 / 0.7483 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004142/0.2296, allocations: 84 kB / 0.7484 GB, free: 11.59 MB / 0.5762 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.001197/0.2308, allocations: 1.098 MB / 0.7495 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.2317, allocations: 395.8 kB / 0.7499 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2317, allocations: 0 / 0.7499 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.232, allocations: 198.6 kB / 0.7501 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007001/0.2327, allocations: 128.2 kB / 0.7502 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.2378, allocations: 3.72 MB / 0.7538 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.238, allocations: 223.7 kB / 0.754 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.2383, allocations: 83.34 kB / 0.7541 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.2385, allocations: 123.3 kB / 0.7542 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/0.2385, allocations: 0 / 0.7542 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4027/0.6412, allocations: 9.344 MB / 0.7633 GB, free: 35.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.63, allocations: 12.83 kB / 0.7634 GB, free: 35.41 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.6996780349873] Failed to read output from testmodel.py, exit status != 0: 12.74985869275406 12.774054958 12.560602443 Calling exit ...