Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001766/0.001766, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001531/0.001531, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.789 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.002579/0.002579, allocations: 283.3 kB / 312.7 MB, free: 2.621 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 14.56 MB / 382.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",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.003008/0.003008, allocations: 99.08 kB / 0.7395 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1656, allocations: 95.38 MB / 0.8327 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03754/0.2031, allocations: 29.27 MB / 0.8612 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02294/0.2261, allocations: 13.2 MB / 0.8741 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.2296, allocations: 186.6 kB / 0.8743 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009052/0.2386, allocations: 3.204 MB / 0.8774 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008221/0.2469, allocations: 2.751 MB / 0.8801 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005546/0.2524, allocations: 2.016 MB / 0.8821 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.263, allocations: 7.637 MB / 0.8896 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007885/0.2709, allocations: 4.596 MB / 0.894 GB, free: 9.18 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005859/0.2768, allocations: 3.533 MB / 0.8975 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006138/0.2829, allocations: 3.355 MB / 0.9008 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001543/0.2845, allocations: 0.5977 MB / 0.9013 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.2879, allocations: 1.408 MB / 0.9027 GB, free: 268 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003346/0.2913, allocations: 2.416 MB / 0.9051 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004316/0.2956, allocations: 2.338 MB / 0.9074 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3072, allocations: 9.539 MB / 0.9167 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3072, allocations: 0 / 0.9167 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3072, allocations: 4 kB / 0.9167 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002057/0.3074, allocations: 0 / 0.9167 GB, free: 1.918 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01048/0.3179, allocations: 5.194 MB / 0.9218 GB, free: 12.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3179, allocations: 13.34 kB / 0.9218 GB, free: 12.64 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009395/0.3189, allocations: 0.6164 MB / 0.9224 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005656/0.3245, allocations: 1.02 MB / 0.9234 GB, free: 10.99 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007674/0.3322, allocations: 3.029 MB / 0.9263 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002944/0.3325, allocations: 314.3 kB / 0.9266 GB, free: 7.559 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009679/0.3335, allocations: 419.9 kB / 0.927 GB, free: 7.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.3463, allocations: 7.527 MB / 0.9344 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001109/0.3464, allocations: 15.89 kB / 0.9344 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004439/0.3469, allocations: 187.9 kB / 0.9346 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000924/0.3478, allocations: 372 kB / 0.9349 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009256/0.357, allocations: 5.106 MB / 0.9399 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03279/0.3898, allocations: 19.78 MB / 0.9592 GB, free: 5.156 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002255/0.3921, allocations: 1.322 MB / 0.9605 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.394, allocations: 1.241 MB / 0.9617 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-05/0.3941, allocations: 13.31 kB / 0.9617 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/0.3942, allocations: 55.86 kB / 0.9618 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=130): time 3.907e-06/0.3942, allocations: 0 / 0.9618 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=199): time 0.5024/0.8966, allocations: 22.85 MB / 0.9841 GB, free: 133.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.8966, allocations: 72.72 kB / 0.9842 GB, free: 133.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003164/0.8998, allocations: 2.097 MB / 0.9862 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/0.9, allocations: 62.42 kB / 0.9863 GB, free: 132.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/0.9012, allocations: 2.061 MB / 0.9883 GB, free: 131.1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.9017, allocations: 0.7128 MB / 0.989 GB, free: 130.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/0.9023, allocations: 408.9 kB / 0.9894 GB, free: 130.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.9024, allocations: 306.4 kB / 0.9897 GB, free: 130.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001867/0.9043, allocations: 1.433 MB / 0.9911 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.9069, allocations: 2.009 MB / 0.993 GB, free: 128.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0057/0.9126, allocations: 3.699 MB / 0.9967 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.9126, allocations: 4.375 kB / 0.9967 GB, free: 126.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01083/0.9234, allocations: 5.601 MB / 1.002 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.9234, allocations: 13.06 kB / 1.002 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.9235, allocations: 20.88 kB / 1.002 GB, free: 123.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00613/0.9296, allocations: 2.073 MB / 1.004 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.9309, allocations: 376.2 kB / 1.005 GB, free: 123.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02858/0.9595, allocations: 36.29 MB / 1.04 GB, free: 91.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.962, allocations: 123.9 kB / 1.04 GB, free: 91.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.9621, allocations: 96 kB / 1.04 GB, free: 91.33 MB / 0.7169 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.002023/0.9641, allocations: 1.509 MB / 1.042 GB, free: 89.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.9645, allocations: 298.1 kB / 1.042 GB, free: 89.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008559/0.9731, allocations: 5.149 MB / 1.047 GB, free: 84.31 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.9731, allocations: 20 kB / 1.047 GB, free: 84.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.9731, allocations: 20 kB / 1.047 GB, free: 84.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.9731, allocations: 15.95 kB / 1.047 GB, free: 84.26 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.9873, allocations: 9.089 MB / 1.056 GB, free: 75.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.9873, allocations: 8.156 kB / 1.056 GB, free: 75.01 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007631/0.9881, allocations: 219.6 kB / 1.056 GB, free: 74.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.9932, allocations: 1.829 MB / 1.058 GB, free: 72.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.9933, allocations: 36 kB / 1.058 GB, free: 72.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/1.021, allocations: 35.3 MB / 1.092 GB, free: 35.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.021, allocations: 11.94 kB / 1.092 GB, free: 35.56 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008378/1.029, allocations: 4.848 MB / 1.097 GB, free: 30.55 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00176/1.031, allocations: 0.5603 MB / 1.098 GB, free: 30 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003638/1.031, allocations: 43.94 kB / 1.098 GB, free: 29.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.032, allocations: 131.5 kB / 1.098 GB, free: 29.83 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005305/1.033, allocations: 201.5 kB / 1.098 GB, free: 29.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/1.033, allocations: 52 kB / 1.098 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001524/1.035, allocations: 1.382 MB / 1.099 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.035, allocations: 4 kB / 1.099 GB, free: 28.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003095/1.038, allocations: 1.047 MB / 1.1 GB, free: 27.14 MB / 0.7169 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.007332/1.045, allocations: 5.475 MB / 1.106 GB, free: 21.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007983/1.053, allocations: 6.003 MB / 1.112 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.053, allocations: 8.062 kB / 1.112 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005214/1.058, allocations: 4.273 MB / 1.116 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/1.062, allocations: 0.9963 MB / 1.117 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05141/1.113, allocations: 30.76 MB / 1.147 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003889/1.117, allocations: 2.584 MB / 1.149 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001907/1.119, allocations: 0.5159 MB / 1.15 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.121, allocations: 1.675 MB / 1.152 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of SimCode: time 1.423e-06/1.121, allocations: 4 kB / 1.152 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2133/1.335, allocations: 94.53 MB / 1.244 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.87/16.2, allocations: 11.81 kB / 1.244 GB, free: 8.148 MB / 0.8419 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.748083852231503] Failed to read output from testmodel.py, exit status != 0: 16.37614674679935 16.395228203 16.084282215 Calling exit ...