Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001316/0.001316, allocations: 116.1 kB / 17.17 MB, free: 6 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.001499/0.001499, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002485/0.002485, allocations: 282.6 kB / 309.8 MB, free: 3.461 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.074/1.074, allocations: 180.6 MB / 0.5338 GB, free: 12.76 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002882/0.002882, allocations: 98.05 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5497/0.5526, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04411/0.5967, allocations: 33.86 MB / 0.8609 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02704/0.6238, allocations: 15 MB / 0.8755 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/0.6283, allocations: 204.3 kB / 0.8757 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.639, allocations: 3.719 MB / 0.8793 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.6497, allocations: 2.994 MB / 0.8823 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008046/0.6578, allocations: 2.323 MB / 0.8845 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01475/0.6725, allocations: 8.807 MB / 0.8931 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.6871, allocations: 7.219 MB / 0.9002 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008974/0.6961, allocations: 4.082 MB / 0.9042 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008648/0.7048, allocations: 4.26 MB / 0.9083 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002665/0.7074, allocations: 0.7148 MB / 0.909 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005685/0.7131, allocations: 1.744 MB / 0.9107 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005792/0.7189, allocations: 2.899 MB / 0.9136 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008255/0.7272, allocations: 3.384 MB / 0.9169 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01813/0.7453, allocations: 11.23 MB / 0.9278 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.7453, allocations: 4 kB / 0.9278 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7453, allocations: 0 / 0.9278 GB, free: 3.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003411/0.7456, allocations: 0 / 0.9278 GB, free: 3.371 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01704/0.7627, allocations: 6.128 MB / 0.9338 GB, free: 13.16 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.7627, allocations: 12.03 kB / 0.9338 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001597/0.7629, allocations: 134.2 kB / 0.9339 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002291/0.7652, allocations: 0.727 MB / 0.9347 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008152/0.7733, allocations: 1.176 MB / 0.9358 GB, free: 11.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008952/0.7823, allocations: 3.538 MB / 0.9393 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004977/0.7828, allocations: 386.1 kB / 0.9396 GB, free: 7.102 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/0.7852, allocations: 495.9 kB / 0.9401 GB, free: 6.617 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02038/0.8056, allocations: 7.989 MB / 0.9479 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.8059, allocations: 31.81 kB / 0.9479 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001689/0.8076, allocations: 216 kB / 0.9481 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001315/0.8089, allocations: 437.6 kB / 0.9486 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.824, allocations: 6.085 MB / 0.9545 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05273/0.8768, allocations: 34.96 MB / 0.9886 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.8801, allocations: 1.909 MB / 0.9905 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002851/0.883, allocations: 1.752 MB / 0.9922 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.8831, allocations: 25.94 kB / 0.9922 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.678e-05/0.8832, allocations: 56.56 kB / 0.9923 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=171): time 3.617e-06/0.8832, allocations: 0 / 0.9923 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of matching and sorting (n=276): time 0.1614/1.045, allocations: 38.86 MB / 1.03 GB, free: 6.738 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/1.045, allocations: 77.58 kB / 1.03 GB, free: 6.648 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/1.049, allocations: 2.286 MB / 1.033 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004085/1.049, allocations: 77.7 kB / 1.033 GB, free: 4.266 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/1.052, allocations: 2.334 MB / 1.035 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001213/1.053, allocations: 0.9721 MB / 1.036 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/1.054, allocations: 0.5142 MB / 1.036 GB, free: 416 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.054, allocations: 305.1 kB / 1.037 GB, free: 108 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003389/1.058, allocations: 1.97 MB / 1.039 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004134/1.062, allocations: 2.599 MB / 1.041 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007941/1.07, allocations: 4.933 MB / 1.046 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/1.07, allocations: 8 kB / 1.046 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01693/1.087, allocations: 7.646 MB / 1.053 GB, free: 14.36 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/1.087, allocations: 19.92 kB / 1.053 GB, free: 14.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/1.087, allocations: 20 kB / 1.053 GB, free: 14.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/1.097, allocations: 3.219 MB / 1.057 GB, free: 11.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.099, allocations: 403.3 kB / 1.057 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05358/1.152, allocations: 33.91 MB / 1.09 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/1.155, allocations: 167.8 kB / 1.09 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000554/1.156, allocations: 108 kB / 1.09 GB, free: 7.668 MB / 0.8262 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 (202): * Single equations (assignments): 196 * 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,71.0%), (10,28,65.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.00378/1.16, allocations: 1.796 MB / 1.092 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.161, allocations: 345.8 kB / 1.092 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.176, allocations: 7.247 MB / 1.099 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.572e-05/1.176, allocations: 28 kB / 1.1 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/1.176, allocations: 28 kB / 1.1 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/1.176, allocations: 15.95 kB / 1.1 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/1.207, allocations: 12.81 MB / 1.112 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.207, allocations: 8 kB / 1.112 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.209, allocations: 231.6 kB / 1.112 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01342/1.222, allocations: 2.845 MB / 1.115 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005356/1.223, allocations: 52 kB / 1.115 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4751/1.698, allocations: 32.69 MB / 1.147 GB, free: 268.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.016e-05/1.698, allocations: 13.19 kB / 1.147 GB, free: 268.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/1.71, allocations: 6.791 MB / 1.154 GB, free: 267.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/1.712, allocations: 0.7955 MB / 1.154 GB, free: 267.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005422/1.713, allocations: 54.12 kB / 1.155 GB, free: 267.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.714, allocations: 164.8 kB / 1.155 GB, free: 267.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009298/1.715, allocations: 255.3 kB / 1.155 GB, free: 267.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.716, allocations: 73.59 kB / 1.155 GB, free: 267.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002486/1.718, allocations: 1.528 MB / 1.156 GB, free: 267 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7e-08/1.718, allocations: 3.938 kB / 1.156 GB, free: 267 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.005368/1.723, allocations: 1.372 MB / 1.158 GB, free: 266.8 MB / 0.8731 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.013/1.736, allocations: 7.408 MB / 1.165 GB, free: 263.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01412/1.751, allocations: 6.573 MB / 1.171 GB, free: 260.6 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.276e-05/1.751, allocations: 5.766 kB / 1.171 GB, free: 260.6 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.008425/1.759, allocations: 4.237 MB / 1.176 GB, free: 258.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005257/1.764, allocations: 1.127 MB / 1.177 GB, free: 258.2 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05985/1.824, allocations: 38.95 MB / 1.215 GB, free: 236.7 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/1.828, allocations: 3.636 MB / 1.218 GB, free: 233 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00208/1.83, allocations: 0.5595 MB / 1.219 GB, free: 232.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/1.831, allocations: 1.972 MB / 1.221 GB, free: 230.5 MB / 0.8731 GB Notification: Performance of SimCode: time 8.92e-07/1.831, allocations: 4 kB / 1.221 GB, free: 230.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1528/1.984, allocations: 112.5 MB / 1.331 GB, free: 119.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.97, allocations: 11.86 kB / 1.331 GB, free: 119.3 MB / 0.8731 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.68267528997967] Failed to read output from testmodel.py, exit status != 0: 19.171906386036426 19.186481657 18.43863689 Calling exit ...