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.001324/0.001324, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001429/0.001429, allocations: 219.7 kB / 23 MB, free: 5.004 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9394/0.9394, allocations: 150 MB / 463.2 MB, free: 10.48 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.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.002028/0.002028, allocations: 66.61 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1979, allocations: 89.17 MB / 0.7284 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007058/0.2049, allocations: 4.994 MB / 0.7332 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.2097, allocations: 2.564 MB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004519/0.2101, allocations: 35.62 kB / 0.7358 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.2114, allocations: 417.9 kB / 0.7362 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001597/0.213, allocations: 477.6 kB / 0.7366 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2141, allocations: 386.5 kB / 0.737 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.2153, allocations: 0.91 MB / 0.7379 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005365/0.2159, allocations: 322.6 kB / 0.7382 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.2164, allocations: 354.6 kB / 0.7385 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005529/0.217, allocations: 366.5 kB / 0.7389 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.19e-05/0.217, allocations: 40 kB / 0.7389 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.2178, allocations: 411 kB / 0.7393 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.218, allocations: 187.3 kB / 0.7395 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00031/0.2183, allocations: 322.3 kB / 0.7398 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.2194, allocations: 0.8831 MB / 0.7407 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2194, allocations: 0 / 0.7407 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2195, allocations: 0 / 0.7407 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.2195, allocations: 4 kB / 0.7407 GB, free: 4.625 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001539/0.221, allocations: 0.8818 MB / 0.7415 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2211, allocations: 12.03 kB / 0.7415 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.2212, allocations: 94.69 kB / 0.7416 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.2224, allocations: 208.2 kB / 0.7418 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.2233, allocations: 468.8 kB / 0.7423 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.392e-05/0.2233, allocations: 33.38 kB / 0.7423 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.2234, allocations: 52.31 kB / 0.7423 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2247, allocations: 0.8523 MB / 0.7432 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.2247, allocations: 11.88 kB / 0.7432 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/0.2248, allocations: 31.92 kB / 0.7432 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.2249, allocations: 60.95 kB / 0.7433 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008741/0.2257, allocations: 0.5656 MB / 0.7438 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0054/0.2311, allocations: 5.578 MB / 0.7493 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.2318, allocations: 418.3 kB / 0.7497 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/0.2321, allocations: 208.7 kB / 0.7499 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2322, allocations: 0 / 0.7499 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.2322, allocations: 42.56 kB / 0.7499 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.923e-06/0.2322, allocations: 0 / 0.7499 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002586/0.2348, allocations: 1.128 MB / 0.751 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.2349, allocations: 59.67 kB / 0.7511 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/0.2354, allocations: 0.4911 MB / 0.7516 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.2355, allocations: 33.7 kB / 0.7516 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.2357, allocations: 359.8 kB / 0.7519 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2358, allocations: 123 kB / 0.7521 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.236, allocations: 114.2 kB / 0.7522 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.2362, allocations: 366.7 kB / 0.7525 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/0.2365, allocations: 197.2 kB / 0.7527 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.237, allocations: 447.3 kB / 0.7531 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.2379, allocations: 0.6954 MB / 0.7538 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2379, allocations: 4 kB / 0.7538 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001398/0.2393, allocations: 0.806 MB / 0.7546 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.2393, allocations: 8.156 kB / 0.7546 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.2393, allocations: 16 kB / 0.7546 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/0.2398, allocations: 152.1 kB / 0.7548 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.2403, allocations: 123.8 kB / 0.7549 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.2439, allocations: 4.046 MB / 0.7588 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.2443, allocations: 35.97 kB / 0.7589 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/0.2444, allocations: 24 kB / 0.7589 GB, free: 0.6562 MB / 0.5762 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.0002994/0.2447, allocations: 214.3 kB / 0.7591 GB, free: 448 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.2448, allocations: 67.69 kB / 0.7592 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3396/0.5844, allocations: 0.593 MB / 0.7597 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.5844, allocations: 1.125 kB / 0.7597 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5845, allocations: 5.297 kB / 0.7597 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5845, allocations: 0 / 0.7597 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.5862, allocations: 1.226 MB / 0.7609 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/0.5862, allocations: 0 / 0.7609 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/0.5865, allocations: 61.58 kB / 0.761 GB, free: 33.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/0.5868, allocations: 144.6 kB / 0.7611 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.5869, allocations: 9.25 kB / 0.7611 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/0.5891, allocations: 4.024 MB / 0.7651 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.5891, allocations: 6.656 kB / 0.7651 GB, free: 30.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000905/0.59, allocations: 0.7103 MB / 0.7658 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.5903, allocations: 92.55 kB / 0.7659 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.5903, allocations: 8.656 kB / 0.7659 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.5906, allocations: 25.53 kB / 0.7659 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.5906, allocations: 37.06 kB / 0.7659 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.5906, allocations: 11.22 kB / 0.7659 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003333/0.591, allocations: 331.9 kB / 0.7663 GB, free: 29.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.591, allocations: 0 / 0.7663 GB, free: 29.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006195/0.5916, allocations: 144 kB / 0.7664 GB, free: 29.84 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.001123/0.5927, allocations: 1.256 MB / 0.7676 GB, free: 29.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001267/0.594, allocations: 0.8639 MB / 0.7685 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.594, allocations: 1.75 kB / 0.7685 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006583/0.5947, allocations: 0.5747 MB / 0.769 GB, free: 28.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008924/0.5955, allocations: 213.6 kB / 0.7692 GB, free: 28.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.6018, allocations: 5.111 MB / 0.7742 GB, free: 25.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.6023, allocations: 0.904 MB / 0.7751 GB, free: 25.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004708/0.6027, allocations: 115.1 kB / 0.7752 GB, free: 25.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.603, allocations: 197.6 kB / 0.7754 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.773e-06/0.603, allocations: 0.8125 kB / 0.7754 GB, free: 25.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05754/0.6606, allocations: 13.21 MB / 0.7883 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.97, allocations: 3.5 kB / 0.7883 GB, free: 22.86 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.766602946001512] Failed to read output from testmodel.py, exit status != 0: 13.090339020000101 13.108670392 12.886330992 Calling exit ...