Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001377/0.001377, allocations: 119 kB / 19.69 MB, free: 2.199 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.00143/0.00143, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.991/0.991, allocations: 150 MB / 463.2 MB, free: 10.91 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.00208/0.00208, allocations: 65.8 kB / 0.6413 GB, free: 10.63 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1955, allocations: 89.17 MB / 0.7284 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008741/0.2043, allocations: 6.407 MB / 0.7346 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00556/0.2098, allocations: 3.328 MB / 0.7379 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006003/0.2104, allocations: 47.56 kB / 0.7379 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.2131, allocations: 0.9688 MB / 0.7389 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.2146, allocations: 497.5 kB / 0.7393 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.2159, allocations: 0.5009 MB / 0.7398 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.2175, allocations: 1.112 MB / 0.7409 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008983/0.2184, allocations: 0.5179 MB / 0.7414 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007807/0.2192, allocations: 454.3 kB / 0.7418 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.2199, allocations: 0.4981 MB / 0.7423 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.22, allocations: 56 kB / 0.7424 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.221, allocations: 0.4911 MB / 0.7429 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.2213, allocations: 299.1 kB / 0.7431 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.2217, allocations: 401.9 kB / 0.7435 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.2232, allocations: 1.183 MB / 0.7447 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2233, allocations: 0 / 0.7447 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2233, allocations: 3.938 kB / 0.7447 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.2233, allocations: 0 / 0.7447 GB, free: 0.7305 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001991/0.2253, allocations: 1.01 MB / 0.7457 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.2253, allocations: 12.03 kB / 0.7457 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.2255, allocations: 114.7 kB / 0.7458 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.2269, allocations: 228.2 kB / 0.746 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.228, allocations: 0.5205 MB / 0.7465 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.228, allocations: 45.67 kB / 0.7466 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.2281, allocations: 64.36 kB / 0.7466 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2299, allocations: 1.03 MB / 0.7476 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.2299, allocations: 15.89 kB / 0.7476 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.23, allocations: 35.98 kB / 0.7477 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/0.2301, allocations: 69.2 kB / 0.7477 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2313, allocations: 0.6918 MB / 0.7484 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006506/0.2378, allocations: 5.654 MB / 0.7539 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007991/0.2386, allocations: 408.3 kB / 0.7543 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008349/0.2395, allocations: 388.6 kB / 0.7547 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.2395, allocations: 4 kB / 0.7547 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2395, allocations: 35.25 kB / 0.7547 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=41): time 2.955e-06/0.2395, allocations: 4 kB / 0.7547 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=42): time 0.004376/0.2439, allocations: 1.718 MB / 0.7564 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.244, allocations: 59.41 kB / 0.7565 GB, free: 4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005655/0.2445, allocations: 462.9 kB / 0.7569 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/0.2446, allocations: 33.7 kB / 0.757 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003243/0.2449, allocations: 392.1 kB / 0.7573 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.245, allocations: 158.7 kB / 0.7575 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.2452, allocations: 114.2 kB / 0.7576 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.2454, allocations: 366.7 kB / 0.7579 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.2458, allocations: 245.2 kB / 0.7582 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.2463, allocations: 460.9 kB / 0.7586 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009647/0.2473, allocations: 0.7478 MB / 0.7593 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2473, allocations: 4 kB / 0.7593 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.3773/0.6245, allocations: 1.029 MB / 0.7604 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.6246, allocations: 7.25 kB / 0.7604 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6246, allocations: 9.969 kB / 0.7604 GB, free: 34.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/0.6256, allocations: 320 kB / 0.7607 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.6259, allocations: 94.83 kB / 0.7608 GB, free: 34.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.6315, allocations: 7.07 MB / 0.7677 GB, free: 29.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.632, allocations: 32.31 kB / 0.7677 GB, free: 29.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.632, allocations: 25.56 kB / 0.7677 GB, free: 29.21 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.6323, allocations: 242 kB / 0.768 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.6324, allocations: 63.23 kB / 0.768 GB, free: 29.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.634, allocations: 0.8852 MB / 0.7689 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.634, allocations: 2.906 kB / 0.7689 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.634, allocations: 4.625 kB / 0.7689 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.634, allocations: 2.016 kB / 0.7689 GB, free: 29.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.6367, allocations: 1.644 MB / 0.7705 GB, free: 28.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.6367, allocations: 9.281 kB / 0.7705 GB, free: 28.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.6369, allocations: 41.06 kB / 0.7705 GB, free: 28.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000929/0.6378, allocations: 307.1 kB / 0.7708 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/0.6379, allocations: 11.56 kB / 0.7708 GB, free: 28.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/0.6441, allocations: 7.05 MB / 0.7777 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.6441, allocations: 3.375 kB / 0.7777 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/0.6461, allocations: 0.9805 MB / 0.7787 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004019/0.6465, allocations: 104.2 kB / 0.7788 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.6465, allocations: 12.27 kB / 0.7788 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.6468, allocations: 19.14 kB / 0.7788 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.647, allocations: 45.08 kB / 0.7789 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.6471, allocations: 13.59 kB / 0.7789 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000555/0.6476, allocations: 313.7 kB / 0.7792 GB, free: 23.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6476, allocations: 4 kB / 0.7792 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001198/0.6488, allocations: 195.7 kB / 0.7794 GB, free: 23.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002431/0.6512, allocations: 1.527 MB / 0.7809 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002551/0.6538, allocations: 1.164 MB / 0.782 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.6538, allocations: 1.031 kB / 0.782 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00128/0.6551, allocations: 0.8272 MB / 0.7828 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.6561, allocations: 213.9 kB / 0.783 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009705/0.6658, allocations: 5.869 MB / 0.7887 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007101/0.6665, allocations: 0.9908 MB / 0.7897 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004632/0.667, allocations: 97.95 kB / 0.7898 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.6673, allocations: 231.3 kB / 0.79 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.6673, allocations: 1.125 kB / 0.79 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07012/0.7374, allocations: 16 MB / 0.8056 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.8, allocations: 10.88 kB / 0.8057 GB, free: 11.23 MB / 0.5762 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.755561968999245] Failed to read output from testmodel.py, exit status != 0: 12.945346034000977 12.962289402 12.735588383 Calling exit ...