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.00126/0.00126, 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.001512/0.001512, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.108/1.108, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.002161/0.002161, allocations: 66.7 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1972, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007493/0.2047, allocations: 4.585 MB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005089/0.2098, allocations: 2.409 MB / 0.735 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004635/0.2103, allocations: 39.62 kB / 0.735 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.2117, allocations: 402 kB / 0.7354 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.2129, allocations: 477.6 kB / 0.7359 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.2139, allocations: 374.4 kB / 0.7362 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001162/0.215, allocations: 0.914 MB / 0.7371 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.2156, allocations: 318.6 kB / 0.7374 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005177/0.2161, allocations: 358.6 kB / 0.7378 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005326/0.2166, allocations: 346.4 kB / 0.7381 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.706e-05/0.2167, allocations: 36 kB / 0.7381 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.2174, allocations: 367.1 kB / 0.7385 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.2177, allocations: 183.3 kB / 0.7387 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003009/0.218, allocations: 258.7 kB / 0.7389 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.2191, allocations: 0.8949 MB / 0.7398 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2191, allocations: 0 / 0.7398 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2191, allocations: 0 / 0.7398 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2191, allocations: 0 / 0.7398 GB, free: 5.07 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.001563/0.2207, allocations: 0.8896 MB / 0.7406 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2207, allocations: 8.031 kB / 0.7407 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.2208, allocations: 94.69 kB / 0.7407 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.222, allocations: 208.2 kB / 0.7409 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008636/0.2229, allocations: 468.8 kB / 0.7414 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.2229, allocations: 41.36 kB / 0.7414 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.223, allocations: 56.23 kB / 0.7415 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.2243, allocations: 0.9701 MB / 0.7424 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.2243, allocations: 3.938 kB / 0.7424 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.2244, allocations: 24 kB / 0.7425 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.2245, allocations: 64.95 kB / 0.7425 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.2253, allocations: 0.5656 MB / 0.7431 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004592/0.2299, allocations: 4.724 MB / 0.7477 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/0.2306, allocations: 426.2 kB / 0.7481 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.2309, allocations: 207 kB / 0.7483 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.723e-05/0.2309, allocations: 0 / 0.7483 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.2309, allocations: 38.56 kB / 0.7483 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.2309, allocations: 0 / 0.7483 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002446/0.2334, allocations: 1.132 MB / 0.7494 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.2334, allocations: 55.69 kB / 0.7495 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005889/0.234, allocations: 0.5027 MB / 0.75 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.234, allocations: 29.7 kB / 0.75 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.2343, allocations: 367.8 kB / 0.7504 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.2344, allocations: 119 kB / 0.7505 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.2346, allocations: 114.2 kB / 0.7506 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.2348, allocations: 366.8 kB / 0.7509 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.2351, allocations: 197.1 kB / 0.7511 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.2357, allocations: 447.3 kB / 0.7515 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008991/0.2366, allocations: 0.6915 MB / 0.7522 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2366, allocations: 8 kB / 0.7522 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001392/0.238, allocations: 0.8014 MB / 0.753 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.238, allocations: 12 kB / 0.753 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.238, allocations: 11.94 kB / 0.753 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004985/0.2385, allocations: 152.9 kB / 0.7532 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004779/0.239, allocations: 123.8 kB / 0.7533 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.2425, allocations: 4.03 MB / 0.7572 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004129/0.2429, allocations: 35.97 kB / 0.7573 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.306e-05/0.243, allocations: 28 kB / 0.7573 GB, free: 1.996 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.0002691/0.2432, allocations: 217.8 kB / 0.7575 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.2433, allocations: 71.56 kB / 0.7576 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2444, allocations: 0.6047 MB / 0.7582 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2444, allocations: 4 kB / 0.7582 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2444, allocations: 0 / 0.7582 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2444, allocations: 0 / 0.7582 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3808/0.6252, allocations: 1.179 MB / 0.7593 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6252, allocations: 1.188 kB / 0.7593 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.6255, allocations: 58.91 kB / 0.7594 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003802/0.6259, allocations: 140.5 kB / 0.7595 GB, free: 33.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.6259, allocations: 9.625 kB / 0.7595 GB, free: 33.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.6281, allocations: 4.013 MB / 0.7634 GB, free: 29.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6281, allocations: 7.984 kB / 0.7634 GB, free: 29.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009621/0.6291, allocations: 0.704 MB / 0.7641 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.6294, allocations: 91.03 kB / 0.7642 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.134e-05/0.6294, allocations: 14.89 kB / 0.7642 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.6297, allocations: 24.39 kB / 0.7643 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.6298, allocations: 31.03 kB / 0.7643 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.6298, allocations: 13.06 kB / 0.7643 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003716/0.6302, allocations: 333.3 kB / 0.7646 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6302, allocations: 0 / 0.7646 GB, free: 29.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007158/0.6309, allocations: 141.8 kB / 0.7647 GB, free: 29.39 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.001088/0.632, allocations: 1.264 MB / 0.766 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001242/0.6332, allocations: 0.8511 MB / 0.7668 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6332, allocations: 2.438 kB / 0.7668 GB, free: 28.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.6338, allocations: 0.5693 MB / 0.7674 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009142/0.6348, allocations: 210.1 kB / 0.7676 GB, free: 27.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.6405, allocations: 5.119 MB / 0.7726 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.6409, allocations: 308.1 kB / 0.7729 GB, free: 25.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.6413, allocations: 117.8 kB / 0.773 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000233/0.6415, allocations: 195.3 kB / 0.7732 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of SimCode: time 1.232e-06/0.6415, allocations: 0 / 0.7732 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06618/0.7077, allocations: 14.16 MB / 0.787 GB, free: 22.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.8, allocations: 9.203 kB / 0.787 GB, free: 22.64 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.921344359871] Failed to read output from testmodel.py, exit status != 0: 12.93045732891187 12.945918072 12.723955388 Calling exit ...