Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001616/0.001616, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002119/0.002119, allocations: 209 kB / 22.99 MB, free: 4.977 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.9436/0.9436, allocations: 149.9 MB / 463.1 MB, free: 10.29 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.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.002157/0.002157, allocations: 79.56 kB / 0.6411 GB, free: 10.08 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1721, allocations: 89.17 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04111/0.2132, allocations: 31.66 MB / 0.7591 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3914/0.6046, allocations: 14.45 MB / 0.7732 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00388/0.6085, allocations: 210.6 kB / 0.7734 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01082/0.6193, allocations: 3.663 MB / 0.777 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.63, allocations: 2.987 MB / 0.7799 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007047/0.637, allocations: 2.335 MB / 0.7822 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0162/0.6532, allocations: 8.808 MB / 0.7908 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0111/0.6643, allocations: 5.493 MB / 0.7962 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009212/0.6735, allocations: 4.22 MB / 0.8003 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007495/0.681, allocations: 3.932 MB / 0.8041 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002672/0.6837, allocations: 0.7118 MB / 0.8048 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00573/0.6894, allocations: 1.62 MB / 0.8064 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.004517/0.694, allocations: 2.889 MB / 0.8092 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007137/0.7011, allocations: 2.743 MB / 0.8119 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01519/0.7163, allocations: 11.25 MB / 0.8229 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7163, allocations: 0 / 0.8229 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7163, allocations: 0 / 0.8229 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003213/0.7166, allocations: 0 / 0.8229 GB, free: 5.711 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01704/0.7336, allocations: 6.042 MB / 0.8288 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.7337, allocations: 11.97 kB / 0.8288 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002611/0.7363, allocations: 0.7354 MB / 0.8295 GB, free: 0.7188 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007873/0.7442, allocations: 1.164 MB / 0.8307 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009923/0.7541, allocations: 3.457 MB / 0.834 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.7545, allocations: 370.8 kB / 0.8344 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.7564, allocations: 491.9 kB / 0.8349 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.7769, allocations: 8.705 MB / 0.8434 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000299/0.7772, allocations: 28.52 kB / 0.8434 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002412/0.7796, allocations: 216 kB / 0.8436 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001172/0.7808, allocations: 440.8 kB / 0.844 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.7959, allocations: 6.073 MB / 0.8499 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.8388, allocations: 22.04 MB / 0.8715 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.8421, allocations: 1.91 MB / 0.8733 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002725/0.8449, allocations: 1.742 MB / 0.875 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.845, allocations: 22 kB / 0.875 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/0.845, allocations: 60.52 kB / 0.8751 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=171): time 3.577e-06/0.845, allocations: 0 / 0.8751 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of matching and sorting (n=276): time 0.1805/1.026, allocations: 38.71 MB / 0.9129 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.249e-05/1.026, allocations: 81.58 kB / 0.913 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/1.032, allocations: 2.313 MB / 0.9152 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0006994/1.033, allocations: 73.7 kB / 0.9153 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003277/1.036, allocations: 2.341 MB / 0.9176 GB, free: 5.414 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002024/1.038, allocations: 0.976 MB / 0.9186 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.04, allocations: 0.5103 MB / 0.9191 GB, free: 3.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.04, allocations: 301.1 kB / 0.9193 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004919/1.045, allocations: 1.97 MB / 0.9213 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0058/1.051, allocations: 2.601 MB / 0.9238 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/1.063, allocations: 4.939 MB / 0.9286 GB, free: 9.594 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/1.063, allocations: 7.938 kB / 0.9286 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0252/1.088, allocations: 7.654 MB / 0.9361 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.709e-05/1.088, allocations: 12 kB / 0.9361 GB, free: 1.852 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.323e-05/1.088, allocations: 16 kB / 0.9361 GB, free: 1.836 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/1.102, allocations: 3.211 MB / 0.9393 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/1.105, allocations: 399.3 kB / 0.9397 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05643/1.161, allocations: 32.76 MB / 0.9716 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/1.165, allocations: 163.8 kB / 0.9718 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006265/1.165, allocations: 108 kB / 0.9719 GB, free: 12.5 MB / 0.7481 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003886/1.169, allocations: 1.803 MB / 0.9737 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.17, allocations: 341.9 kB / 0.974 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.187, allocations: 7.247 MB / 0.9811 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/1.187, allocations: 31.98 kB / 0.9811 GB, free: 2.992 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-05/1.187, allocations: 28 kB / 0.9811 GB, free: 2.965 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.657e-05/1.187, allocations: 11.95 kB / 0.9811 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02838/1.216, allocations: 12.14 MB / 0.993 GB, free: 6.645 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.9e-05/1.216, allocations: 4 kB / 0.993 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.217, allocations: 231.6 kB / 0.9932 GB, free: 6.414 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008692/1.225, allocations: 2.845 MB / 0.996 GB, free: 3.551 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003658/1.226, allocations: 52 kB / 0.996 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04911/1.275, allocations: 31.55 MB / 1.027 GB, free: 3.258 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.275, allocations: 11.94 kB / 1.027 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/1.289, allocations: 6.786 MB / 1.033 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/1.292, allocations: 0.7324 MB / 1.034 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006323/1.293, allocations: 56 kB / 1.034 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/1.294, allocations: 163.8 kB / 1.034 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000839/1.295, allocations: 269.3 kB / 1.035 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.295, allocations: 72 kB / 1.035 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002485/1.298, allocations: 1.529 MB / 1.036 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/1.298, allocations: 3.938 kB / 1.036 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004342/1.302, allocations: 1.367 MB / 1.038 GB, free: 8.062 MB / 0.8106 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01417/1.316, allocations: 7.421 MB / 1.045 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01299/1.329, allocations: 6.551 MB / 1.051 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/1.329, allocations: 0 / 1.051 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.008568/1.338, allocations: 4.258 MB / 1.055 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/1.343, allocations: 1.108 MB / 1.056 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4055/1.749, allocations: 39.06 MB / 1.095 GB, free: 268.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006212/1.755, allocations: 3.111 MB / 1.098 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002377/1.757, allocations: 0.5576 MB / 1.098 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002176/1.759, allocations: 1.973 MB / 1.1 GB, free: 268.5 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/1.759, allocations: 0 / 1.1 GB, free: 268.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1708/1.93, allocations: 119 MB / 1.216 GB, free: 179 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.6/18.53, allocations: 12.83 kB / 1.216 GB, free: 179 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.723450461402535] Failed to read output from testmodel.py, exit status != 0: 18.710766837000847 18.730505206 18.010077622 Calling exit ...