Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001384/0.001384, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001567/0.001567, allocations: 204 kB / 20.09 MB, free: 2.977 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.612/1.612, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.978/0.978, allocations: 150 MB / 459.5 MB, free: 5.297 MB / 350.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.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.002063/0.002063, allocations: 76.16 kB / 0.6361 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.1976, allocations: 89.13 MB / 0.7232 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007083/0.2047, allocations: 4.894 MB / 0.7279 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004589/0.2093, allocations: 2.525 MB / 0.7304 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000453/0.2098, allocations: 35.62 kB / 0.7304 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.211, allocations: 409.9 kB / 0.7308 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.2122, allocations: 465.7 kB / 0.7313 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2132, allocations: 377.7 kB / 0.7316 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00125/0.2144, allocations: 0.9173 MB / 0.7325 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.2151, allocations: 290.5 kB / 0.7328 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006546/0.2157, allocations: 354.6 kB / 0.7331 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005124/0.2162, allocations: 366.5 kB / 0.7335 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.2163, allocations: 40 kB / 0.7335 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.2171, allocations: 415 kB / 0.7339 GB, free: 8.957 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.2173, allocations: 183.4 kB / 0.7341 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.2176, allocations: 318.3 kB / 0.7344 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.2188, allocations: 0.8831 MB / 0.7353 GB, free: 7.578 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2188, allocations: 0 / 0.7353 GB, free: 7.578 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2188, allocations: 4 kB / 0.7353 GB, free: 7.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2188, allocations: 0 / 0.7353 GB, free: 7.574 MB / 0.545 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.001618/0.2204, allocations: 0.9667 MB / 0.7362 GB, free: 6.559 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.2205, allocations: 12.03 kB / 0.7362 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.2206, allocations: 90.69 kB / 0.7363 GB, free: 6.449 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.2219, allocations: 204.3 kB / 0.7365 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.2228, allocations: 0.5378 MB / 0.737 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.2228, allocations: 29.38 kB / 0.7371 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.2229, allocations: 48.31 kB / 0.7371 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.2241, allocations: 0.8523 MB / 0.7379 GB, free: 4.613 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.2241, allocations: 7.938 kB / 0.7379 GB, free: 4.605 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.388e-05/0.2242, allocations: 27.92 kB / 0.738 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.972e-05/0.2243, allocations: 64.95 kB / 0.738 GB, free: 4.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.2252, allocations: 0.5656 MB / 0.7386 GB, free: 3.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005977/0.2312, allocations: 5.647 MB / 0.7441 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.2319, allocations: 425.5 kB / 0.7445 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.2322, allocations: 205.3 kB / 0.7447 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.2322, allocations: 0 / 0.7447 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.2322, allocations: 42.55 kB / 0.7447 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.2322, allocations: 0 / 0.7447 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.003034/0.2353, allocations: 1.509 MB / 0.7462 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2353, allocations: 51.69 kB / 0.7463 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.2359, allocations: 0.4951 MB / 0.7468 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.236, allocations: 33.69 kB / 0.7468 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002914/0.2363, allocations: 363.7 kB / 0.7471 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2364, allocations: 119 kB / 0.7472 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.2366, allocations: 118.2 kB / 0.7474 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2368, allocations: 362.8 kB / 0.7477 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.2371, allocations: 201.2 kB / 0.7479 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.2376, allocations: 439.3 kB / 0.7483 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.2386, allocations: 0.7032 MB / 0.749 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.2386, allocations: 0 / 0.749 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001444/0.24, allocations: 0.8019 MB / 0.7498 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.24, allocations: 8 kB / 0.7498 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.24, allocations: 8 kB / 0.7498 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/0.2406, allocations: 160.5 kB / 0.75 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.2411, allocations: 123.8 kB / 0.7501 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004001/0.2451, allocations: 4.348 MB / 0.7543 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.2455, allocations: 35.97 kB / 0.7544 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.2455, allocations: 28 kB / 0.7544 GB, free: 2.516 MB / 0.5606 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.0003262/0.2459, allocations: 214.5 kB / 0.7546 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.246, allocations: 63.62 kB / 0.7546 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.2471, allocations: 0.6008 MB / 0.7552 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2471, allocations: 0 / 0.7552 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2471, allocations: 8 kB / 0.7552 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2471, allocations: 11.91 kB / 0.7553 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.2491, allocations: 1.25 MB / 0.7565 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2491, allocations: 0 / 0.7565 GB, free: 252 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.2494, allocations: 55.89 kB / 0.7565 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004539/0.2499, allocations: 144.4 kB / 0.7567 GB, free: 36 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.2499, allocations: 15.94 kB / 0.7567 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/0.2537, allocations: 4.34 MB / 0.7609 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2537, allocations: 0 / 0.7609 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.2549, allocations: 0.7132 MB / 0.7616 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.2552, allocations: 176.6 kB / 0.7618 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.2552, allocations: 11.98 kB / 0.7618 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/0.2555, allocations: 23.97 kB / 0.7618 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.2556, allocations: 31.91 kB / 0.7618 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.2556, allocations: 15.94 kB / 0.7619 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000423/0.256, allocations: 330.8 kB / 0.7622 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.256, allocations: 0 / 0.7622 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007233/0.2568, allocations: 144 kB / 0.7623 GB, free: 9.758 MB / 0.5762 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.00147/0.2582, allocations: 1.249 MB / 0.7635 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.2598, allocations: 1.025 MB / 0.7645 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2598, allocations: 0 / 0.7645 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.2608, allocations: 0.7154 MB / 0.7652 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2618, allocations: 217.3 kB / 0.7654 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007117/0.2689, allocations: 5.1 MB / 0.7704 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006546/0.2696, allocations: 0.9135 MB / 0.7713 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003632/0.27, allocations: 117.3 kB / 0.7714 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.2702, allocations: 199.4 kB / 0.7716 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of SimCode: time 9.71e-07/0.2702, allocations: 3.938 kB / 0.7716 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05645/0.3267, allocations: 12.78 MB / 0.7841 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.15, allocations: 11.97 kB / 0.7841 GB, free: 3.062 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.268875614041463] Failed to read output from testmodel.py, exit status != 0: 11.240449527045712 11.263881329 11.040659344 Calling exit ...