Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.0008198/0.0008198, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008284/0.0008284, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8688/0.8688, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5405/0.5405, allocations: 114 MB / 373.9 MB, free: 8.68 MB / 346.7 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_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.5542 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.806e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02228/0.0223, allocations: 32.98 MB / 0.5864 GB, free: 1.652 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.03605, allocations: 11.37 MB / 0.5975 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002392/0.03845, allocations: 210.4 kB / 0.5977 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.04316, allocations: 4.283 MB / 0.6019 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.04707, allocations: 2.144 MB / 0.604 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.0511, allocations: 2.434 MB / 0.6064 GB, free: 13.16 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007729/0.05883, allocations: 8.61 MB / 0.6148 GB, free: 4.52 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007973/0.0668, allocations: 6.193 MB / 0.6208 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008046/0.07485, allocations: 5.399 MB / 0.6261 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/0.08081, allocations: 3.905 MB / 0.6299 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.002259/0.08307, allocations: 0.7773 MB / 0.6307 GB, free: 4.105 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.08685, allocations: 1.926 MB / 0.6326 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.003408/0.09026, allocations: 3.27 MB / 0.6358 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.003823/0.09409, allocations: 2.37 MB / 0.6381 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/0.1059, allocations: 12.24 MB / 0.65 GB, free: 252 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1059, allocations: 0 / 0.65 GB, free: 252 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1059, allocations: 3.938 kB / 0.65 GB, free: 248 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003665/0.1062, allocations: 7.984 kB / 0.65 GB, free: 240 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.0104/0.1166, allocations: 5.805 MB / 0.6557 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1167, allocations: 12.62 kB / 0.6557 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000976/0.1177, allocations: 0.8051 MB / 0.6565 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.1208, allocations: 1.098 MB / 0.6576 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.1252, allocations: 3.418 MB / 0.6609 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001899/0.1254, allocations: 411.5 kB / 0.6613 GB, free: 4.547 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000634/0.1261, allocations: 0.5432 MB / 0.6618 GB, free: 4.004 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.1384, allocations: 9.377 MB / 0.671 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.1385, allocations: 39.95 kB / 0.671 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.1389, allocations: 236.1 kB / 0.6713 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002364/0.1391, allocations: 350.8 kB / 0.6716 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.1478, allocations: 6.822 MB / 0.6783 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2767/0.4245, allocations: 25.08 MB / 0.7027 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.4264, allocations: 2.294 MB / 0.705 GB, free: 133.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.4279, allocations: 1.778 MB / 0.7067 GB, free: 133 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.233e-05/0.4279, allocations: 18.28 kB / 0.7067 GB, free: 133 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.428, allocations: 53.19 kB / 0.7068 GB, free: 133 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 4.539e-06/0.428, allocations: 0 / 0.7068 GB, free: 133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.01354/0.4415, allocations: 9.686 MB / 0.7163 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4416, allocations: 70.75 kB / 0.7163 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.4434, allocations: 1.565 MB / 0.7178 GB, free: 129 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.56e-05/0.4435, allocations: 55.7 kB / 0.7179 GB, free: 129 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008148/0.4444, allocations: 2.321 MB / 0.7202 GB, free: 127.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.4447, allocations: 0.657 MB / 0.7208 GB, free: 127.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003907/0.4451, allocations: 409.4 kB / 0.7212 GB, free: 126.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.838e-05/0.4451, allocations: 302.2 kB / 0.7215 GB, free: 126.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.4462, allocations: 1.178 MB / 0.7226 GB, free: 126.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.4476, allocations: 1.885 MB / 0.7245 GB, free: 124.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.4503, allocations: 3.368 MB / 0.7278 GB, free: 122.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.4503, allocations: 10.53 kB / 0.7278 GB, free: 122.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005095/0.4554, allocations: 4.53 MB / 0.7322 GB, free: 121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.4555, allocations: 20.62 kB / 0.7322 GB, free: 121 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.489e-05/0.4555, allocations: 27.72 kB / 0.7322 GB, free: 121 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/0.4578, allocations: 1.58 MB / 0.7338 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007292/0.4586, allocations: 350.1 kB / 0.7341 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/0.4728, allocations: 17.94 MB / 0.7516 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4742, allocations: 118.3 kB / 0.7518 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.4743, allocations: 95.66 kB / 0.7518 GB, free: 109.9 MB / 0.6355 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002418/0.4768, allocations: 1.894 MB / 0.7537 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.4771, allocations: 233.9 kB / 0.7539 GB, free: 108.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4806, allocations: 4.05 MB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.4806, allocations: 22.12 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4807, allocations: 16.53 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4807, allocations: 11.95 kB / 0.7579 GB, free: 107.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007867/0.4885, allocations: 8.673 MB / 0.7664 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4885, allocations: 4.25 kB / 0.7664 GB, free: 100.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003697/0.4889, allocations: 179.7 kB / 0.7666 GB, free: 100.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.4905, allocations: 1.361 MB / 0.7679 GB, free: 99.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.224e-05/0.4905, allocations: 32 kB / 0.7679 GB, free: 99.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009879/0.5004, allocations: 16.72 MB / 0.7843 GB, free: 82.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5004, allocations: 4 kB / 0.7843 GB, free: 82.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003689/0.5041, allocations: 4.025 MB / 0.7882 GB, free: 77.98 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.5048, allocations: 478.8 kB / 0.7886 GB, free: 77.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.505, allocations: 35.98 kB / 0.7887 GB, free: 77.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004702/0.5054, allocations: 87.91 kB / 0.7888 GB, free: 77.39 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/0.5058, allocations: 173.5 kB / 0.7889 GB, free: 77.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/0.5058, allocations: 44 kB / 0.789 GB, free: 77.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008366/0.5067, allocations: 1.005 MB / 0.79 GB, free: 76.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5067, allocations: 3.938 kB / 0.79 GB, free: 76.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002509/0.5092, allocations: 0.9883 MB / 0.7909 GB, free: 75.16 MB / 0.6355 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003389/0.5126, allocations: 4.622 MB / 0.7954 GB, free: 70.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003926/0.5165, allocations: 4.157 MB / 0.7995 GB, free: 66.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.5165, allocations: 0 / 0.7995 GB, free: 66.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.5187, allocations: 2.575 MB / 0.802 GB, free: 63.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.5207, allocations: 0.7897 MB / 0.8028 GB, free: 62.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02648/0.5471, allocations: 27.03 MB / 0.8292 GB, free: 34.78 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/0.5499, allocations: 3.035 MB / 0.8321 GB, free: 31.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001075/0.551, allocations: 459.9 kB / 0.8326 GB, free: 31.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.552, allocations: 1.793 MB / 0.8343 GB, free: 29.45 MB / 0.6355 GB Notification: Performance of SimCode: time 1.994e-06/0.552, allocations: 0 / 0.8343 GB, free: 29.45 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08771/0.6397, allocations: 78.47 MB / 0.911 GB, free: 15.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.948, allocations: 7.984 kB / 0.911 GB, free: 15.93 MB / 0.698 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.529233722947538] Failed to read output from testmodel.py, exit status != 0: 9.057318682782352 9.066252278 8.958559129 Calling exit ...