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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 113.6 kB / 17.12 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 196.6 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8563/0.8563, allocations: 129.2 MB / 432.5 MB, free: 13.17 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 0.5987 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4086, allocations: 83.44 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006989/0.4156, allocations: 6.235 MB / 0.6863 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005607/0.4212, allocations: 3.208 MB / 0.6894 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.4219, allocations: 33.88 kB / 0.6894 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.4244, allocations: 0.9457 MB / 0.6904 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.4258, allocations: 491 kB / 0.6908 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.4272, allocations: 0.4939 MB / 0.6913 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00161/0.4288, allocations: 1.101 MB / 0.6924 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008269/0.4296, allocations: 0.5091 MB / 0.6929 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006837/0.4303, allocations: 444.2 kB / 0.6933 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006352/0.431, allocations: 0.4947 MB / 0.6938 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.4311, allocations: 62.59 kB / 0.6938 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/0.432, allocations: 0.4905 MB / 0.6943 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.4323, allocations: 289.3 kB / 0.6946 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.4327, allocations: 407.1 kB / 0.695 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.4342, allocations: 1.186 MB / 0.6961 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4342, allocations: 0.9688 kB / 0.6962 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4342, allocations: 4 kB / 0.6962 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.4342, allocations: 0 / 0.6962 GB, free: 10.19 MB / 0.5137 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.0018/0.436, allocations: 1.077 MB / 0.6972 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.436, allocations: 9.875 kB / 0.6972 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001447/0.4362, allocations: 124 kB / 0.6973 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.4377, allocations: 232.1 kB / 0.6976 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.4388, allocations: 0.5982 MB / 0.6981 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.4388, allocations: 46.17 kB / 0.6982 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4389, allocations: 65.45 kB / 0.6982 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4404, allocations: 1.033 MB / 0.6993 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.4404, allocations: 12.06 kB / 0.6993 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.4405, allocations: 24.25 kB / 0.6993 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.293e-05/0.4406, allocations: 70.77 kB / 0.6994 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.4417, allocations: 0.6913 MB / 0.7 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005777/0.4474, allocations: 5.743 MB / 0.7056 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000856/0.4483, allocations: 0.551 MB / 0.7062 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007566/0.449, allocations: 395 kB / 0.7066 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4491, allocations: 4.062 kB / 0.7066 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.4491, allocations: 36.75 kB / 0.7066 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.574e-06/0.4491, allocations: 1.156 kB / 0.7066 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004528/0.4536, allocations: 2.017 MB / 0.7086 GB, free: 64 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.4537, allocations: 59.47 kB / 0.7086 GB, free: 16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.4543, allocations: 469.1 kB / 0.7091 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.4543, allocations: 29.7 kB / 0.7091 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.4547, allocations: 400.1 kB / 0.7095 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.4548, allocations: 154.7 kB / 0.7096 GB, free: 15 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.455, allocations: 110.2 kB / 0.7097 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4552, allocations: 370.8 kB / 0.7101 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.4555, allocations: 241.2 kB / 0.7103 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.4561, allocations: 457 kB / 0.7108 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009645/0.457, allocations: 0.7494 MB / 0.7115 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.457, allocations: 0 / 0.7115 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001889/0.4589, allocations: 1.035 MB / 0.7125 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.4589, allocations: 8 kB / 0.7125 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.459, allocations: 15.88 kB / 0.7125 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009816/0.4599, allocations: 323.1 kB / 0.7128 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.4602, allocations: 95.81 kB / 0.7129 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/0.4682, allocations: 7.478 MB / 0.7202 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005903/0.4688, allocations: 32.02 kB / 0.7202 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.4688, allocations: 24 kB / 0.7203 GB, free: 3.301 MB / 0.5294 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.0004431/0.4693, allocations: 253.5 kB / 0.7205 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.626e-05/0.4694, allocations: 63.56 kB / 0.7206 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.4711, allocations: 0.8767 MB / 0.7214 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4711, allocations: 4 kB / 0.7214 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.4711, allocations: 8.266 kB / 0.7214 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4711, allocations: 0 / 0.7214 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.4739, allocations: 1.669 MB / 0.7231 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.4739, allocations: 3.938 kB / 0.7231 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.4741, allocations: 43.91 kB / 0.7231 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.475, allocations: 311.2 kB / 0.7234 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.4751, allocations: 8 kB / 0.7234 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007551/0.4826, allocations: 7.456 MB / 0.7307 GB, free: 7.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4826, allocations: 3.938 kB / 0.7307 GB, free: 7.914 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.4844, allocations: 0.9799 MB / 0.7317 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4848, allocations: 184.6 kB / 0.7318 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.4848, allocations: 8 kB / 0.7318 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.4851, allocations: 23.92 kB / 0.7319 GB, free: 6.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4852, allocations: 47.88 kB / 0.7319 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.4852, allocations: 15.94 kB / 0.7319 GB, free: 6.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003541/0.4856, allocations: 315.1 kB / 0.7322 GB, free: 6.289 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4856, allocations: 0 / 0.7322 GB, free: 6.289 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000786/0.4864, allocations: 192 kB / 0.7324 GB, free: 6.102 MB / 0.545 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.002007/0.4884, allocations: 1.548 MB / 0.7339 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.4904, allocations: 1.152 MB / 0.7351 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4904, allocations: 0 / 0.7351 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.4916, allocations: 0.8242 MB / 0.7359 GB, free: 2.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.4926, allocations: 205.8 kB / 0.7361 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.5013, allocations: 5.863 MB / 0.7418 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007479/0.502, allocations: 0.9958 MB / 0.7428 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003262/0.5024, allocations: 97.2 kB / 0.7428 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002822/0.5026, allocations: 231.4 kB / 0.7431 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.352e-06/0.5026, allocations: 0 / 0.7431 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06257/0.5652, allocations: 15.49 MB / 0.7582 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.08, allocations: 8 kB / 0.7582 GB, free: 11.46 MB / 0.5762 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.583749269135296] Failed to read output from testmodel.py, exit status != 0: 11.169830149039626 11.190195734 10.752126237 Calling exit ...