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.001354/0.001354, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001448/0.001448, allocations: 219.7 kB / 23 MB, free: 5.004 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.9813/0.9813, allocations: 150 MB / 463.2 MB, free: 10.47 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.00214/0.00214, allocations: 72.14 kB / 0.6413 GB, free: 10.3 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1864, allocations: 89.17 MB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.407/0.5934, allocations: 34.78 MB / 0.7623 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.6178, allocations: 15.31 MB / 0.7773 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004677/0.6225, allocations: 223.6 kB / 0.7775 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0105/0.633, allocations: 3.81 MB / 0.7812 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/0.6444, allocations: 3.019 MB / 0.7842 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.6519, allocations: 2.386 MB / 0.7865 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0146/0.6665, allocations: 8.818 MB / 0.7951 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009276/0.6758, allocations: 5.555 MB / 0.8005 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007954/0.6837, allocations: 4.232 MB / 0.8047 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008493/0.6922, allocations: 4.204 MB / 0.8088 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003511/0.6957, allocations: 0.7036 MB / 0.8095 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007136/0.7029, allocations: 1.737 MB / 0.8112 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00547/0.7083, allocations: 2.864 MB / 0.814 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/0.719, allocations: 3.357 MB / 0.8172 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01993/0.739, allocations: 11.13 MB / 0.8281 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.739, allocations: 3 kB / 0.8281 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.775e-06/0.739, allocations: 0 / 0.8281 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003961/0.7394, allocations: 0 / 0.8281 GB, free: 3.156 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.01746/0.7568, allocations: 6.023 MB / 0.834 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.7569, allocations: 12.03 kB / 0.834 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002299/0.7592, allocations: 0.7232 MB / 0.8347 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007413/0.7666, allocations: 1.137 MB / 0.8358 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009227/0.7758, allocations: 3.446 MB / 0.8392 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.7762, allocations: 382.6 kB / 0.8396 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/0.7782, allocations: 499.8 kB / 0.84 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.7974, allocations: 7.961 MB / 0.8478 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.7975, allocations: 19.83 kB / 0.8478 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008283/0.7984, allocations: 216 kB / 0.848 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.7994, allocations: 441.5 kB / 0.8484 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01344/0.8129, allocations: 6.061 MB / 0.8544 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04837/0.8613, allocations: 34.51 MB / 0.8881 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/0.8644, allocations: 1.899 MB / 0.8899 GB, free: 0.8086 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002877/0.8672, allocations: 1.732 MB / 0.8916 GB, free: 15.08 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.8674, allocations: 18 kB / 0.8916 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.8674, allocations: 56.5 kB / 0.8917 GB, free: 15 MB / 0.67 GB Notification: Performance of pre-optimization done (n=171): time 4.298e-06/0.8674, allocations: 0 / 0.8917 GB, free: 15 MB / 0.67 GB Notification: Performance of matching and sorting (n=276): time 0.1512/1.019, allocations: 37.54 MB / 0.9283 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/1.019, allocations: 77.58 kB / 0.9284 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/1.022, allocations: 1.983 MB / 0.9304 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003205/1.022, allocations: 69.7 kB / 0.9304 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.024, allocations: 2.387 MB / 0.9328 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.025, allocations: 0.9721 MB / 0.9337 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/1.026, allocations: 0.5182 MB / 0.9342 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.026, allocations: 305.1 kB / 0.9345 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00283/1.029, allocations: 1.848 MB / 0.9363 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/1.032, allocations: 2.605 MB / 0.9388 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007073/1.039, allocations: 4.865 MB / 0.9436 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/1.039, allocations: 8 kB / 0.9436 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=381) (initialization): time 0.01567/1.055, allocations: 7.392 MB / 0.9508 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/1.055, allocations: 12.97 kB / 0.9508 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.235e-05/1.055, allocations: 24 kB / 0.9509 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008837/1.064, allocations: 3.06 MB / 0.9538 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/1.066, allocations: 423.2 kB / 0.9543 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04746/1.113, allocations: 32.49 MB / 0.986 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/1.116, allocations: 151.9 kB / 0.9861 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/1.116, allocations: 124 kB / 0.9862 GB, free: 12.59 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 (207): * Single equations (assignments): 201 * 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,65.0%), (10,28,71.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.003887/1.12, allocations: 1.808 MB / 0.988 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007473/1.121, allocations: 322 kB / 0.9883 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.135, allocations: 7.074 MB / 0.9952 GB, free: 3.305 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/1.135, allocations: 24 kB / 0.9952 GB, free: 3.281 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.885e-05/1.135, allocations: 32 kB / 0.9953 GB, free: 3.25 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-05/1.135, allocations: 11.95 kB / 0.9953 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/1.163, allocations: 12.42 MB / 1.007 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.163, allocations: 8 kB / 1.007 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000977/1.164, allocations: 232.5 kB / 1.008 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007696/1.171, allocations: 2.685 MB / 1.01 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002887/1.172, allocations: 52 kB / 1.01 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04649/1.218, allocations: 31.23 MB / 1.041 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.218, allocations: 8 kB / 1.041 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.232, allocations: 6.613 MB / 1.047 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.234, allocations: 0.658 MB / 1.048 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/1.234, allocations: 55.94 kB / 1.048 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.236, allocations: 147.8 kB / 1.048 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000984/1.237, allocations: 265.3 kB / 1.048 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002373/1.237, allocations: 72 kB / 1.048 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002072/1.239, allocations: 1.302 MB / 1.05 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.239, allocations: 0 / 1.05 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004564/1.244, allocations: 1.285 MB / 1.051 GB, free: 9.125 MB / 0.8262 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.01358/1.257, allocations: 7.225 MB / 1.058 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.27, allocations: 6.427 MB / 1.064 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/1.27, allocations: 0 / 1.064 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.008681/1.279, allocations: 4.16 MB / 1.068 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004779/1.284, allocations: 1.022 MB / 1.069 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4404/1.724, allocations: 37.05 MB / 1.106 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004896/1.729, allocations: 3.643 MB / 1.109 GB, free: 267.5 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001855/1.731, allocations: 0.5201 MB / 1.11 GB, free: 267.5 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/1.733, allocations: 1.963 MB / 1.112 GB, free: 265.8 MB / 0.8419 GB Notification: Performance of SimCode: time 1.052e-06/1.733, allocations: 3.625 kB / 1.112 GB, free: 265.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1666/1.899, allocations: 107.7 MB / 1.217 GB, free: 178.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/20.54, allocations: 15.92 kB / 1.217 GB, free: 178.5 MB / 0.8419 GB " [Timeout remaining time 639] (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: 24.81418742099777] Failed to read output from testmodel.py, exit status != 0: 20.706557831028476 20.72632759 19.982947183 Calling exit ...