Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.001615/0.001615, allocations: 122.8 kB / 17.84 MB, free: 5.254 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.001632/0.001632, allocations: 198.3 kB / 20.79 MB, free: 2.316 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.482/1.482, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.9878/0.9878, allocations: 150 MB / 460.2 MB, free: 5.297 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",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.001964/0.001964, allocations: 67.78 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 89.13 MB / 0.7239 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05242/0.2231, allocations: 41.82 MB / 0.7647 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0268/0.2499, allocations: 15.33 MB / 0.7797 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003687/0.2536, allocations: 246.1 kB / 0.7799 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.2643, allocations: 4.53 MB / 0.7843 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006645/0.271, allocations: 2.923 MB / 0.7872 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006879/0.2778, allocations: 3.188 MB / 0.7903 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01314/0.291, allocations: 11.42 MB / 0.8014 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.303, allocations: 9.224 MB / 0.8105 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007749/0.3107, allocations: 4.978 MB / 0.8153 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009256/0.32, allocations: 5.744 MB / 0.8209 GB, free: 204 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002726/0.3227, allocations: 0.9493 MB / 0.8218 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00651/0.3292, allocations: 2.075 MB / 0.8239 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.007207/0.3364, allocations: 3.784 MB / 0.8276 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01364/0.3501, allocations: 4.299 MB / 0.8318 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02551/0.3756, allocations: 14.32 MB / 0.8458 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.3756, allocations: 3.984 kB / 0.8458 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3756, allocations: 0 / 0.8458 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004576/0.3761, allocations: 0 / 0.8458 GB, free: 6.695 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03381/0.4099, allocations: 7.792 MB / 0.8534 GB, free: 14.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.4099, allocations: 12.03 kB / 0.8534 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002948/0.4102, allocations: 160.3 kB / 0.8535 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004364/0.4146, allocations: 0.8955 MB / 0.8544 GB, free: 13.73 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01776/0.4324, allocations: 1.557 MB / 0.8559 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01672/0.4491, allocations: 4.469 MB / 0.8603 GB, free: 7.629 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00081/0.4499, allocations: 456.5 kB / 0.8607 GB, free: 7.18 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003797/0.4537, allocations: 0.5979 MB / 0.8613 GB, free: 6.582 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.406/0.8597, allocations: 10.68 MB / 0.8717 GB, free: 119.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003059/0.86, allocations: 31.42 kB / 0.8718 GB, free: 119.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/0.8615, allocations: 265.5 kB / 0.872 GB, free: 119.8 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003355/0.8648, allocations: 0.7766 MB / 0.8728 GB, free: 119.7 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01989/0.8847, allocations: 8.56 MB / 0.8811 GB, free: 116.6 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04945/0.9342, allocations: 46.61 MB / 0.9267 GB, free: 76.85 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.9386, allocations: 3.973 MB / 0.9305 GB, free: 74.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004037/0.9427, allocations: 3.375 MB / 0.9338 GB, free: 72.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.943, allocations: 34.78 kB / 0.9339 GB, free: 72.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.77e-05/0.943, allocations: 85.28 kB / 0.9339 GB, free: 72.16 MB / 0.67 GB Notification: Performance of pre-optimization done (n=353): time 5.72e-06/0.943, allocations: 3.984 kB / 0.9339 GB, free: 72.15 MB / 0.67 GB Notification: Performance of matching and sorting (n=578): time 0.5051/1.448, allocations: 122.6 MB / 1.054 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/1.448, allocations: 111.9 kB / 1.054 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/1.452, allocations: 2.688 MB / 1.056 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0008724/1.453, allocations: 121.7 kB / 1.057 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002043/1.455, allocations: 2.76 MB / 1.059 GB, free: 7.711 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002428/1.457, allocations: 2.053 MB / 1.061 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/1.459, allocations: 0.9251 MB / 1.062 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.459, allocations: 301.1 kB / 1.062 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006808/1.466, allocations: 4.079 MB / 1.066 GB, free: 376 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009218/1.475, allocations: 5.021 MB / 1.071 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/1.495, allocations: 9.848 MB / 1.081 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.405e-05/1.495, allocations: 11.94 kB / 1.081 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04628/1.542, allocations: 16.74 MB / 1.097 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/1.542, allocations: 12.97 kB / 1.097 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.321e-05/1.542, allocations: 28 kB / 1.097 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03576/1.577, allocations: 9.086 MB / 1.106 GB, free: 6.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.58, allocations: 0.5265 MB / 1.107 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1295/1.71, allocations: 77.02 MB / 1.182 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006131/1.716, allocations: 287.8 kB / 1.182 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.717, allocations: 195.9 kB / 1.182 GB, free: 7.195 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00628/1.723, allocations: 2.421 MB / 1.185 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.725, allocations: 493 kB / 1.185 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4665/2.192, allocations: 16.54 MB / 1.201 GB, free: 290.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/2.192, allocations: 58.86 kB / 1.201 GB, free: 290.7 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003847/2.192, allocations: 71.25 kB / 1.201 GB, free: 290.7 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001196/2.192, allocations: 27.22 kB / 1.202 GB, free: 290.7 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05811/2.25, allocations: 25.37 MB / 1.226 GB, free: 282.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.781e-05/2.25, allocations: 7.719 kB / 1.226 GB, free: 282.4 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/2.252, allocations: 327.3 kB / 1.227 GB, free: 282.4 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02844/2.281, allocations: 8.274 MB / 1.235 GB, free: 280.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/2.282, allocations: 104.2 kB / 1.235 GB, free: 280.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08294/2.365, allocations: 73.9 MB / 1.307 GB, free: 207.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/2.365, allocations: 13.34 kB / 1.307 GB, free: 207.1 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03938/2.404, allocations: 21.32 MB / 1.328 GB, free: 185.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004021/2.408, allocations: 1.384 MB / 1.329 GB, free: 184.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/2.41, allocations: 107.9 kB / 1.329 GB, free: 184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004966/2.415, allocations: 287.6 kB / 1.33 GB, free: 183.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/2.417, allocations: 0.5221 MB / 1.33 GB, free: 183.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006566/2.418, allocations: 144 kB / 1.33 GB, free: 183.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002617/2.421, allocations: 1.776 MB / 1.332 GB, free: 181.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/2.421, allocations: 0 / 1.332 GB, free: 181.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.007914/2.429, allocations: 2.465 MB / 1.334 GB, free: 178.8 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03952/2.468, allocations: 22.01 MB / 1.356 GB, free: 156.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02525/2.493, allocations: 13.74 MB / 1.369 GB, free: 142.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/2.493, allocations: 4 kB / 1.369 GB, free: 142.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01648/2.51, allocations: 9.027 MB / 1.378 GB, free: 133.4 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007659/2.517, allocations: 1.385 MB / 1.379 GB, free: 132.1 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/2.654, allocations: 69.85 MB / 1.448 GB, free: 60.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00725/2.662, allocations: 4.893 MB / 1.452 GB, free: 55.64 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003124/2.665, allocations: 0.7526 MB / 1.453 GB, free: 54.89 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003152/2.668, allocations: 2.608 MB / 1.456 GB, free: 52.28 MB / 0.8575 GB Notification: Performance of SimCode: time 1.423e-06/2.668, allocations: 0 / 1.456 GB, free: 52.28 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7999/3.468, allocations: 197.9 MB / 1.649 GB, free: 183.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.02/26.49, allocations: 18.27 kB / 1.649 GB, free: 183.8 MB / 0.8731 GB " [Timeout remaining time 633] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.34544162300881] Failed to read output from testmodel.py, exit status != 0: 26.728663753019646 26.744640517 26.365752206 Calling exit ...