Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001439/0.001439, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002198/0.002198, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.563/1.563, allocations: 230.6 MB / 254.2 MB, free: 15.06 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.008/1.008, allocations: 150 MB / 460.2 MB, free: 5.254 MB / 350.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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",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.002014/0.002014, allocations: 68.98 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2158, allocations: 89.14 MB / 0.7239 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01308/0.2289, allocations: 5.613 MB / 0.7293 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007886/0.2368, allocations: 2.708 MB / 0.732 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.2377, allocations: 31.69 kB / 0.732 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.2404, allocations: 0.687 MB / 0.7327 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.242, allocations: 425.7 kB / 0.7331 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.2434, allocations: 420.9 kB / 0.7335 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00186/0.2453, allocations: 0.9629 MB / 0.7344 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000742/0.246, allocations: 362.7 kB / 0.7348 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008593/0.2469, allocations: 394.5 kB / 0.7351 GB, free: 8.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008961/0.2478, allocations: 422.4 kB / 0.7356 GB, free: 8.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.248, allocations: 51.98 kB / 0.7356 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.249, allocations: 371.2 kB / 0.736 GB, free: 7.605 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004232/0.2494, allocations: 255.2 kB / 0.7362 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006303/0.2501, allocations: 350.2 kB / 0.7365 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001739/0.2518, allocations: 0.9766 MB / 0.7375 GB, free: 6.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.2518, allocations: 4 kB / 0.7375 GB, free: 6.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2518, allocations: 0 / 0.7375 GB, free: 6.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.65e-05/0.2518, allocations: 0 / 0.7375 GB, free: 6.027 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002586/0.2544, allocations: 1 MB / 0.7385 GB, free: 4.977 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.2545, allocations: 8.031 kB / 0.7385 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4e-05/0.2545, allocations: 17.19 kB / 0.7385 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.2547, allocations: 106.6 kB / 0.7386 GB, free: 4.836 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.2563, allocations: 196.3 kB / 0.7388 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.2576, allocations: 0.5223 MB / 0.7393 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.326e-05/0.2576, allocations: 45.36 kB / 0.7393 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.2578, allocations: 56.27 kB / 0.7394 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.2594, allocations: 0.8317 MB / 0.7402 GB, free: 3.074 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.2594, allocations: 4 kB / 0.7402 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/0.2595, allocations: 23.98 kB / 0.7402 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/0.2597, allocations: 72.88 kB / 0.7403 GB, free: 2.973 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2608, allocations: 0.5736 MB / 0.7409 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006272/0.267, allocations: 4.57 MB / 0.7453 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.2676, allocations: 279.3 kB / 0.7456 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.268, allocations: 209.2 kB / 0.7458 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.268, allocations: 4.281 kB / 0.7458 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.363e-05/0.2681, allocations: 38.84 kB / 0.7458 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 3.406e-06/0.2681, allocations: 4 kB / 0.7458 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.007126/0.2752, allocations: 2.635 MB / 0.7484 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.2753, allocations: 59.34 kB / 0.7485 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.2761, allocations: 462.1 kB / 0.7489 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/0.2761, allocations: 29.7 kB / 0.7489 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.2765, allocations: 364.5 kB / 0.7493 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.2767, allocations: 142.8 kB / 0.7494 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.2769, allocations: 106.1 kB / 0.7495 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002453/0.2772, allocations: 362.8 kB / 0.7499 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/0.2776, allocations: 241 kB / 0.7501 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.2783, allocations: 410.4 kB / 0.7505 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.2793, allocations: 0.6779 MB / 0.7511 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2793, allocations: 0 / 0.7511 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002153/0.2814, allocations: 0.9171 MB / 0.752 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.2815, allocations: 11.98 kB / 0.752 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/0.2815, allocations: 4.656 kB / 0.7521 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/0.2825, allocations: 226.4 kB / 0.7523 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.283, allocations: 115.8 kB / 0.7524 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006683/0.2897, allocations: 5.34 MB / 0.7576 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.2903, allocations: 32.03 kB / 0.7576 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.2904, allocations: 28 kB / 0.7577 GB, free: 56 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.2909, allocations: 221.6 kB / 0.7579 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.2911, allocations: 63.61 kB / 0.7579 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.293, allocations: 0.7657 MB / 0.7587 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.293, allocations: 4 kB / 0.7587 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.293, allocations: 11.98 kB / 0.7587 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.293, allocations: 0 / 0.7587 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.296, allocations: 1.494 MB / 0.7601 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/0.296, allocations: 4 kB / 0.7601 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.2964, allocations: 71.88 kB / 0.7602 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007658/0.2972, allocations: 202.6 kB / 0.7604 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.981e-05/0.2972, allocations: 8 kB / 0.7604 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.3034, allocations: 5.278 MB / 0.7656 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.3034, allocations: 4.031 kB / 0.7656 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.3055, allocations: 1.129 MB / 0.7667 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003654/0.3059, allocations: 176.7 kB / 0.7668 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.306, allocations: 15.98 kB / 0.7669 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3064, allocations: 23.97 kB / 0.7669 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.3065, allocations: 36.02 kB / 0.7669 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.3065, allocations: 12 kB / 0.7669 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004773/0.307, allocations: 314.9 kB / 0.7672 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.307, allocations: 3.938 kB / 0.7672 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008311/0.3078, allocations: 164 kB / 0.7674 GB, free: 5.469 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00236/0.3102, allocations: 1.697 MB / 0.769 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.3121, allocations: 0.9691 MB / 0.77 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.3121, allocations: 0 / 0.77 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3132, allocations: 0.668 MB / 0.7706 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.3142, allocations: 195.2 kB / 0.7708 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009738/0.324, allocations: 5.632 MB / 0.7763 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.3247, allocations: 0.9534 MB / 0.7773 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004084/0.3251, allocations: 117 kB / 0.7774 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/0.3254, allocations: 207.4 kB / 0.7776 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.3254, allocations: 0 / 0.7776 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/0.3749, allocations: 14.34 MB / 0.7916 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.86, allocations: 10.8 kB / 0.7916 GB, free: 12.57 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.151477954001166] Failed to read output from testmodel.py, exit status != 0: 12.0139287369675 12.041266342 11.783951448 Calling exit ...