Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.001612/0.001612, allocations: 114.9 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.00163/0.00163, allocations: 201.6 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.507/1.507, allocations: 230.6 MB / 254.2 MB, free: 15.05 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.005/1.005, allocations: 150 MB / 460.2 MB, free: 5.324 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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001953/0.001953, allocations: 71.08 kB / 0.6368 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1846, allocations: 89.13 MB / 0.7239 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03781/0.2225, allocations: 31.23 MB / 0.7544 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.2466, allocations: 13.76 MB / 0.7678 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004187/0.2508, allocations: 194.5 kB / 0.768 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009737/0.2606, allocations: 3.242 MB / 0.7711 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009594/0.2701, allocations: 2.755 MB / 0.7738 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006398/0.2765, allocations: 2.028 MB / 0.7758 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01139/0.2879, allocations: 7.605 MB / 0.7832 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/0.2986, allocations: 6.148 MB / 0.7892 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006626/0.3052, allocations: 3.513 MB / 0.7927 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006658/0.3119, allocations: 3.57 MB / 0.7962 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.3141, allocations: 0.5938 MB / 0.7967 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004864/0.319, allocations: 1.525 MB / 0.7982 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005076/0.324, allocations: 2.424 MB / 0.8006 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007053/0.3311, allocations: 2.878 MB / 0.8034 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.3448, allocations: 9.496 MB / 0.8127 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3448, allocations: 4 kB / 0.8127 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3448, allocations: 0 / 0.8127 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003321/0.3452, allocations: 0 / 0.8127 GB, free: 8.82 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.0147/0.3599, allocations: 5.266 MB / 0.8178 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3599, allocations: 12.03 kB / 0.8178 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001462/0.3601, allocations: 112.7 kB / 0.8179 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001983/0.3621, allocations: 0.6125 MB / 0.8185 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.3687, allocations: 1.032 MB / 0.8196 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006753/0.3755, allocations: 3.085 MB / 0.8226 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.3758, allocations: 324.6 kB / 0.8229 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/0.3771, allocations: 415.9 kB / 0.8233 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.3927, allocations: 6.796 MB / 0.8299 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002322/0.3929, allocations: 15.89 kB / 0.8299 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.3942, allocations: 188 kB / 0.8301 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001017/0.3952, allocations: 368 kB / 0.8305 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0126/0.4078, allocations: 5.118 MB / 0.8355 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4474/0.8552, allocations: 30.56 MB / 0.8653 GB, free: 123.5 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002994/0.8582, allocations: 1.321 MB / 0.8666 GB, free: 123.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.86, allocations: 1.243 MB / 0.8678 GB, free: 123.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.8601, allocations: 17.28 kB / 0.8678 GB, free: 123.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8601, allocations: 52.98 kB / 0.8679 GB, free: 123.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.026e-06/0.8601, allocations: 1.688 kB / 0.8679 GB, free: 123.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.08829/0.9484, allocations: 23.08 MB / 0.8904 GB, free: 118.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/0.9484, allocations: 72 kB / 0.8905 GB, free: 118.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002697/0.9511, allocations: 2.059 MB / 0.8925 GB, free: 117.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003394/0.9515, allocations: 68.95 kB / 0.8926 GB, free: 117.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.9526, allocations: 2.056 MB / 0.8946 GB, free: 115.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006903/0.9533, allocations: 0.7193 MB / 0.8953 GB, free: 115.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006738/0.954, allocations: 404.7 kB / 0.8957 GB, free: 114.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.954, allocations: 305.1 kB / 0.8959 GB, free: 114.6 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.9557, allocations: 1.433 MB / 0.8973 GB, free: 113.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/0.9576, allocations: 2.012 MB / 0.8993 GB, free: 112.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003753/0.9614, allocations: 3.697 MB / 0.9029 GB, free: 108.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.9614, allocations: 4 kB / 0.9029 GB, free: 108.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009516/0.9709, allocations: 5.607 MB / 0.9084 GB, free: 103.2 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.69e-05/0.9709, allocations: 13.72 kB / 0.9084 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.971, allocations: 16 kB / 0.9084 GB, free: 103.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.9772, allocations: 2.08 MB / 0.9105 GB, free: 101.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.9788, allocations: 381.5 kB / 0.9108 GB, free: 100.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03275/1.012, allocations: 38.46 MB / 0.9484 GB, free: 59.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.015, allocations: 123.9 kB / 0.9485 GB, free: 59.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003927/1.016, allocations: 92 kB / 0.9486 GB, free: 59.58 MB / 0.67 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003463/1.019, allocations: 1.511 MB / 0.9501 GB, free: 58.07 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009849/1.02, allocations: 298.2 kB / 0.9503 GB, free: 57.77 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009131/1.029, allocations: 5.145 MB / 0.9554 GB, free: 52.56 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/1.029, allocations: 20 kB / 0.9554 GB, free: 52.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-05/1.029, allocations: 16 kB / 0.9554 GB, free: 52.52 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/1.03, allocations: 11.95 kB / 0.9554 GB, free: 52.51 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/1.044, allocations: 9.606 MB / 0.9648 GB, free: 42.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/1.044, allocations: 8.031 kB / 0.9648 GB, free: 42.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007704/1.045, allocations: 219.6 kB / 0.965 GB, free: 42.52 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004996/1.05, allocations: 1.833 MB / 0.9668 GB, free: 40.64 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/1.05, allocations: 44 kB / 0.9668 GB, free: 40.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02686/1.077, allocations: 37.48 MB / 1.003 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.077, allocations: 15.88 kB / 1.003 GB, free: 0.6289 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009911/1.087, allocations: 4.859 MB / 1.008 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/1.089, allocations: 0.6279 MB / 1.009 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005354/1.089, allocations: 40 kB / 1.009 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.091, allocations: 127.8 kB / 1.009 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007436/1.092, allocations: 193 kB / 1.009 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.092, allocations: 60.14 kB / 1.009 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00236/1.094, allocations: 1.378 MB / 1.011 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/1.094, allocations: 0 / 1.011 GB, free: 9.172 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004111/1.098, allocations: 1.051 MB / 1.012 GB, free: 8.121 MB / 0.6856 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,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.01011/1.108, allocations: 5.47 MB / 1.017 GB, free: 2.484 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.119, allocations: 6.007 MB / 1.023 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.119, allocations: 8.531 kB / 1.023 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008062/1.128, allocations: 4.276 MB / 1.027 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.132, allocations: 1 MB / 1.028 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05856/1.191, allocations: 30.65 MB / 1.058 GB, free: 7.137 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004389/1.195, allocations: 3.125 MB / 1.061 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001942/1.197, allocations: 0.5237 MB / 1.061 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002505/1.2, allocations: 1.671 MB / 1.063 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/1.2, allocations: 0 / 1.063 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/1.405, allocations: 88.73 MB / 1.15 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.81, allocations: 15.94 kB / 1.15 GB, free: 10.02 MB / 0.8262 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.677132683980744] Failed to read output from testmodel.py, exit status != 0: 18.047172338003293 18.063948095 17.714979436 Calling exit ...