Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.001312/0.001312, 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.001415/0.001415, allocations: 224.3 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9949/0.9949, allocations: 150 MB / 463.2 MB, free: 10.52 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.002944/0.002944, allocations: 66.08 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.217, allocations: 89.17 MB / 0.7284 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02916/0.2462, allocations: 24.45 MB / 0.7522 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.2586, allocations: 6.702 MB / 0.7588 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002725/0.2613, allocations: 127.1 kB / 0.7589 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004856/0.2662, allocations: 1.562 MB / 0.7604 GB, free: 348 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3742/0.6404, allocations: 1.938 MB / 0.7623 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.6442, allocations: 1.498 MB / 0.7638 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008802/0.653, allocations: 6.904 MB / 0.7705 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007125/0.6601, allocations: 3.771 MB / 0.7742 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006868/0.667, allocations: 2.911 MB / 0.7771 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00787/0.6749, allocations: 3.733 MB / 0.7807 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002472/0.6773, allocations: 0.532 MB / 0.7812 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004983/0.6823, allocations: 1.194 MB / 0.7824 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.006083/0.6884, allocations: 2.532 MB / 0.7849 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.6989, allocations: 2.532 MB / 0.7873 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.7154, allocations: 8.547 MB / 0.7957 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.7154, allocations: 0 / 0.7957 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.235e-06/0.7154, allocations: 0 / 0.7957 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003053/0.7157, allocations: 5.281 kB / 0.7957 GB, free: 7.367 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01319/0.7289, allocations: 4.471 MB / 0.8001 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.729, allocations: 10.09 kB / 0.8001 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002213/0.7312, allocations: 0.5716 MB / 0.8006 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00974/0.7409, allocations: 1.705 MB / 0.8023 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007712/0.7486, allocations: 2.664 MB / 0.8049 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.749, allocations: 275.8 kB / 0.8052 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/0.7509, allocations: 356.7 kB / 0.8055 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02249/0.7733, allocations: 7.493 MB / 0.8128 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002558/0.7736, allocations: 19.7 kB / 0.8128 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001998/0.7756, allocations: 157.8 kB / 0.813 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007282/0.7763, allocations: 493.9 kB / 0.8134 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.7916, allocations: 5.698 MB / 0.819 GB, free: 8.582 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05167/0.8432, allocations: 31.27 MB / 0.8496 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.8467, allocations: 2.017 MB / 0.8515 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/0.8503, allocations: 2.102 MB / 0.8536 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.8506, allocations: 13.31 kB / 0.8536 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/0.8506, allocations: 55.8 kB / 0.8536 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 4.218e-06/0.8506, allocations: 0 / 0.8536 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of matching and sorting (n=251): time 0.3021/1.153, allocations: 76.74 MB / 0.9286 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.798e-05/1.153, allocations: 77.41 kB / 0.9287 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003297/1.156, allocations: 1.67 MB / 0.9303 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006223/1.157, allocations: 65.7 kB / 0.9303 GB, free: 4.113 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.158, allocations: 1.797 MB / 0.9321 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001483/1.16, allocations: 0.8918 MB / 0.933 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/1.161, allocations: 485.4 kB / 0.9334 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.162, allocations: 309.1 kB / 0.9337 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004357/1.166, allocations: 2.726 MB / 0.9364 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004773/1.171, allocations: 3.332 MB / 0.9396 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009392/1.18, allocations: 6.393 MB / 0.9459 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-05/1.18, allocations: 8 kB / 0.9459 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03304/1.213, allocations: 14.4 MB / 0.96 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/1.213, allocations: 12 kB / 0.96 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.844e-05/1.213, allocations: 20.84 kB / 0.96 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02983/1.243, allocations: 9.244 MB / 0.969 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.244, allocations: 303.4 kB / 0.9693 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08477/1.329, allocations: 51.78 MB / 1.02 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/1.332, allocations: 219.7 kB / 1.02 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/1.333, allocations: 99.98 kB / 1.02 GB, free: 6.871 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003343/1.336, allocations: 1.598 MB / 1.022 GB, free: 5.262 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006364/1.337, allocations: 258.5 kB / 1.022 GB, free: 5.008 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03406/1.371, allocations: 14.47 MB / 1.036 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/1.371, allocations: 24 kB / 1.036 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001265/1.371, allocations: 44 kB / 1.036 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/1.371, allocations: 11.95 kB / 1.036 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04491/1.416, allocations: 20.2 MB / 1.056 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-05/1.416, allocations: 4.844 kB / 1.056 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007878/1.417, allocations: 163.8 kB / 1.056 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03001/1.447, allocations: 9.004 MB / 1.065 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007089/1.447, allocations: 48 kB / 1.065 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4389/1.886, allocations: 51.34 MB / 1.115 GB, free: 286.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.036e-05/1.886, allocations: 10.78 kB / 1.115 GB, free: 286.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03014/1.916, allocations: 14.09 MB / 1.129 GB, free: 283.2 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002685/1.919, allocations: 0.7796 MB / 1.13 GB, free: 283 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007792/1.92, allocations: 59.55 kB / 1.13 GB, free: 283 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002235/1.922, allocations: 207.1 kB / 1.13 GB, free: 282.9 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001407/1.924, allocations: 254.2 kB / 1.13 GB, free: 282.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002297/1.924, allocations: 68.97 kB / 1.13 GB, free: 282.9 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001502/1.925, allocations: 1.124 MB / 1.131 GB, free: 282.4 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/1.925, allocations: 0 / 1.131 GB, free: 282.4 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.005585/1.931, allocations: 1.619 MB / 1.133 GB, free: 282.3 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02803/1.959, allocations: 14.7 MB / 1.147 GB, free: 276.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01954/1.978, allocations: 10.21 MB / 1.157 GB, free: 267.6 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.978, allocations: 0 / 1.157 GB, free: 267.6 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01602/1.995, allocations: 7.029 MB / 1.164 GB, free: 260.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/1.998, allocations: 0.55 MB / 1.165 GB, free: 260 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08408/2.082, allocations: 50.52 MB / 1.214 GB, free: 208.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003845/2.086, allocations: 3.231 MB / 1.217 GB, free: 205.2 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001138/2.087, allocations: 387.3 kB / 1.217 GB, free: 204.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/2.088, allocations: 1.464 MB / 1.219 GB, free: 203.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/2.088, allocations: 0 / 1.219 GB, free: 203.4 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1762/2.264, allocations: 124.6 MB / 1.341 GB, free: 79.11 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.01/19.28, allocations: 13.56 kB / 1.341 GB, free: 79.1 MB / 0.8575 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.316858616999525] Failed to read output from testmodel.py, exit status != 0: 19.433567549000145 19.445227612 18.726973113 Calling exit ...