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.001451/0.001451, allocations: 114.2 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.002169/0.002169, allocations: 203.1 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.604/1.604, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.047/1.047, 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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="cs",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="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.002041/0.002041, allocations: 68.81 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2181, allocations: 89.14 MB / 0.7239 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009827/0.2279, allocations: 6.227 MB / 0.7299 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006362/0.2343, allocations: 3.254 MB / 0.7331 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008363/0.2351, allocations: 47.56 kB / 0.7332 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.238, allocations: 0.9474 MB / 0.7341 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.2397, allocations: 497.5 kB / 0.7346 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.2415, allocations: 0.4935 MB / 0.735 GB, free: 8.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002039/0.2435, allocations: 1.104 MB / 0.7361 GB, free: 7.414 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.2447, allocations: 0.5142 MB / 0.7366 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.2457, allocations: 454.3 kB / 0.7371 GB, free: 6.453 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009479/0.2467, allocations: 0.4942 MB / 0.7375 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.2468, allocations: 60 kB / 0.7376 GB, free: 5.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.2481, allocations: 498.9 kB / 0.7381 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.2486, allocations: 299.1 kB / 0.7384 GB, free: 5.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007537/0.2493, allocations: 397.9 kB / 0.7387 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.2513, allocations: 1.183 MB / 0.7399 GB, free: 3.539 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2513, allocations: 4 kB / 0.7399 GB, free: 3.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2513, allocations: 0 / 0.7399 GB, free: 3.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.865e-05/0.2513, allocations: 0 / 0.7399 GB, free: 3.535 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002326/0.2537, allocations: 1.082 MB / 0.7409 GB, free: 2.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2537, allocations: 12.03 kB / 0.741 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.794e-05/0.2538, allocations: 21.44 kB / 0.741 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.2539, allocations: 118.7 kB / 0.7411 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.2556, allocations: 232.2 kB / 0.7413 GB, free: 2.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2567, allocations: 0.5926 MB / 0.7419 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.2567, allocations: 45.67 kB / 0.7419 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.2569, allocations: 64.36 kB / 0.742 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.2585, allocations: 1.029 MB / 0.743 GB, free: 140 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.2586, allocations: 15.89 kB / 0.743 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.2587, allocations: 31.98 kB / 0.743 GB, free: 92 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.2588, allocations: 69.2 kB / 0.7431 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.26, allocations: 0.6918 MB / 0.7438 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.2663, allocations: 5.742 MB / 0.7494 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000952/0.2673, allocations: 0.5521 MB / 0.7499 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008491/0.2681, allocations: 392.6 kB / 0.7503 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.2682, allocations: 8.672 kB / 0.7503 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2682, allocations: 34.56 kB / 0.7504 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=41): time 3.026e-06/0.2682, allocations: 0 / 0.7504 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.004797/0.273, allocations: 2.011 MB / 0.7523 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.2731, allocations: 55.41 kB / 0.7524 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.2737, allocations: 470.8 kB / 0.7528 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.2737, allocations: 29.7 kB / 0.7528 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/0.2741, allocations: 400.1 kB / 0.7532 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.2743, allocations: 162.6 kB / 0.7534 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.2745, allocations: 110.3 kB / 0.7535 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.2747, allocations: 366.8 kB / 0.7538 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.2751, allocations: 237.2 kB / 0.7541 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.2757, allocations: 460.9 kB / 0.7545 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.2767, allocations: 0.7478 MB / 0.7552 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.2768, allocations: 3.984 kB / 0.7552 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002121/0.2789, allocations: 1.031 MB / 0.7562 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.2789, allocations: 15.92 kB / 0.7563 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.2789, allocations: 8 kB / 0.7563 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.28, allocations: 311.8 kB / 0.7566 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.2803, allocations: 99.81 kB / 0.7567 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/0.2889, allocations: 7.479 MB / 0.764 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005974/0.2895, allocations: 32.08 kB / 0.764 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.2896, allocations: 24 kB / 0.764 GB, free: 9.191 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.0004583/0.29, allocations: 241.6 kB / 0.7642 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.2901, allocations: 67.55 kB / 0.7643 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.2921, allocations: 0.8886 MB / 0.7652 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2921, allocations: 8 kB / 0.7652 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.2921, allocations: 4 kB / 0.7652 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2921, allocations: 0 / 0.7652 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.2951, allocations: 1.672 MB / 0.7668 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2951, allocations: 3.938 kB / 0.7668 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.2953, allocations: 44.09 kB / 0.7669 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000963/0.2962, allocations: 311.2 kB / 0.7672 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.2963, allocations: 8 kB / 0.7672 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.3043, allocations: 7.47 MB / 0.7745 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3043, allocations: 3.984 kB / 0.7745 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.3061, allocations: 0.9841 MB / 0.7754 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.3064, allocations: 176.7 kB / 0.7756 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.3065, allocations: 12 kB / 0.7756 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3067, allocations: 27.91 kB / 0.7756 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.3069, allocations: 35.95 kB / 0.7757 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.3069, allocations: 12 kB / 0.7757 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004132/0.3073, allocations: 322.8 kB / 0.776 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.3073, allocations: 0 / 0.776 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008864/0.3082, allocations: 192 kB / 0.7762 GB, free: 11.98 MB / 0.5919 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.002176/0.3104, allocations: 1.521 MB / 0.7777 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.3126, allocations: 1.156 MB / 0.7788 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3126, allocations: 0 / 0.7788 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.314, allocations: 0.8425 MB / 0.7796 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3151, allocations: 208.7 kB / 0.7798 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/0.3242, allocations: 5.863 MB / 0.7855 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008684/0.3251, allocations: 0.996 MB / 0.7865 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003677/0.3255, allocations: 101.2 kB / 0.7866 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003171/0.3258, allocations: 227.4 kB / 0.7868 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.3258, allocations: 0 / 0.7868 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05035/0.3761, allocations: 15.54 MB / 0.802 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.49, allocations: 7.062 kB / 0.802 GB, free: 1.328 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.850525404966902] Failed to read output from testmodel.py, exit status != 0: 11.650681000959594 11.666698003 11.412214216 Calling exit ...