Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001441/0.001441, allocations: 117.8 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.001626/0.001626, allocations: 225.5 kB / 23.01 MB, free: 5.043 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9918/0.9918, allocations: 150 MB / 463.2 MB, free: 10.45 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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.00214/0.00214, allocations: 78.28 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1807, allocations: 89.17 MB / 0.7284 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02832/0.209, allocations: 21.2 MB / 0.7491 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.2215, allocations: 6.714 MB / 0.7556 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001922/0.2234, allocations: 111.2 kB / 0.7557 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006503/0.2299, allocations: 2.337 MB / 0.758 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003685/0.2336, allocations: 1.244 MB / 0.7592 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.2375, allocations: 1.324 MB / 0.7605 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.3781/0.6156, allocations: 4.846 MB / 0.7653 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005108/0.6207, allocations: 3.18 MB / 0.7684 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.6253, allocations: 2.148 MB / 0.7705 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005731/0.6311, allocations: 2.477 MB / 0.7729 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002188/0.6333, allocations: 430.8 kB / 0.7733 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.6376, allocations: 1.019 MB / 0.7743 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003346/0.6409, allocations: 1.711 MB / 0.776 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004749/0.6457, allocations: 1.913 MB / 0.7778 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01228/0.658, allocations: 6.532 MB / 0.7842 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.658, allocations: 2.156 kB / 0.7842 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.658, allocations: 0 / 0.7842 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002329/0.6582, allocations: 3.469 kB / 0.7842 GB, free: 10.54 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01021/0.6684, allocations: 3.464 MB / 0.7876 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.6685, allocations: 8.844 kB / 0.7876 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009326/0.6694, allocations: 461.4 kB / 0.788 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003765/0.6732, allocations: 0.65 MB / 0.7887 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.6782, allocations: 1.995 MB / 0.7906 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.6784, allocations: 224.9 kB / 0.7908 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008537/0.6792, allocations: 288.1 kB / 0.7911 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009278/0.6885, allocations: 4.898 MB / 0.7959 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.57e-05/0.6886, allocations: 14.2 kB / 0.7959 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.6889, allocations: 128.7 kB / 0.796 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004393/0.6894, allocations: 228.2 kB / 0.7963 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006814/0.6962, allocations: 3.756 MB / 0.7999 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02701/0.7232, allocations: 21.23 MB / 0.8207 GB, free: 208 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.725, allocations: 1.234 MB / 0.8219 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.7264, allocations: 0.9856 MB / 0.8228 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.275e-05/0.7264, allocations: 11.09 kB / 0.8228 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.442e-05/0.7265, allocations: 44.88 kB / 0.8229 GB, free: 15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 5.67e-06/0.7265, allocations: 3.281 kB / 0.8229 GB, free: 15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02504/0.7516, allocations: 8.442 MB / 0.8311 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.7516, allocations: 64.72 kB / 0.8312 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.7534, allocations: 1.134 MB / 0.8323 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.7536, allocations: 49.7 kB / 0.8323 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.7546, allocations: 1.336 MB / 0.8336 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005719/0.7552, allocations: 0.4912 MB / 0.8341 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005259/0.7557, allocations: 295.5 kB / 0.8344 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.7559, allocations: 305.1 kB / 0.8347 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.7573, allocations: 0.9174 MB / 0.8356 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.759, allocations: 1.318 MB / 0.8369 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/0.7625, allocations: 2.426 MB / 0.8393 GB, free: 448 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/0.7625, allocations: 10.62 kB / 0.8393 GB, free: 440 kB / 0.6075 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006558/0.7691, allocations: 3.432 MB / 0.8426 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.7691, allocations: 12 kB / 0.8426 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.7691, allocations: 12.88 kB / 0.8426 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/0.7724, allocations: 1.182 MB / 0.8438 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.7735, allocations: 261.4 kB / 0.844 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01895/0.7924, allocations: 13.54 MB / 0.8573 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.794, allocations: 91.97 kB / 0.8573 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.7941, allocations: 60 kB / 0.8574 GB, free: 13.66 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002081/0.7962, allocations: 1.121 MB / 0.8585 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.7966, allocations: 167 kB / 0.8587 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00617/0.8028, allocations: 3.133 MB / 0.8617 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.8028, allocations: 15.94 kB / 0.8617 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/0.8028, allocations: 16 kB / 0.8617 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.8028, allocations: 7.922 kB / 0.8618 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.8146, allocations: 6.19 MB / 0.8678 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.8147, allocations: 4 kB / 0.8678 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.8153, allocations: 143.8 kB / 0.8679 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/0.8183, allocations: 1.075 MB / 0.869 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/0.8185, allocations: 32 kB / 0.869 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01872/0.8372, allocations: 13.24 MB / 0.882 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.8372, allocations: 4 kB / 0.882 GB, free: 4.09 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/0.8431, allocations: 3.124 MB / 0.885 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.8443, allocations: 361.9 kB / 0.8854 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003079/0.8446, allocations: 27.94 kB / 0.8854 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009045/0.8455, allocations: 87.89 kB / 0.8855 GB, free: 428 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003795/0.8459, allocations: 128.6 kB / 0.8856 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.8459, allocations: 36 kB / 0.8856 GB, free: 264 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001177/0.8471, allocations: 0.7652 MB / 0.8864 GB, free: 15.49 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8471, allocations: 0 / 0.8864 GB, free: 15.49 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002378/0.8495, allocations: 0.6641 MB / 0.887 GB, free: 14.83 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00619/0.8557, allocations: 3.705 MB / 0.8906 GB, free: 11.02 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005547/0.8612, allocations: 3.017 MB / 0.8936 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.8612, allocations: 0.75 kB / 0.8936 GB, free: 7.992 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/0.8648, allocations: 1.89 MB / 0.8954 GB, free: 6.066 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.8675, allocations: 0.5014 MB / 0.8959 GB, free: 5.609 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03502/0.9026, allocations: 19.19 MB / 0.9147 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002948/0.9055, allocations: 2.337 MB / 0.9169 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001152/0.9067, allocations: 350.1 kB / 0.9173 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.9082, allocations: 1.007 MB / 0.9183 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of SimCode: time 9.91e-07/0.9082, allocations: 0 / 0.9183 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1563/1.064, allocations: 54.15 MB / 0.9711 GB, free: 8.586 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.61, allocations: 7.875 kB / 0.9711 GB, free: 8.578 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.683243850944564] Failed to read output from testmodel.py, exit status != 0: 15.74472732981667 15.760930478 15.099398189 Calling exit ...