Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001664/0.001664, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002278/0.002278, allocations: 220.1 kB / 23.04 MB, free: 5.074 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.002508/0.002508, allocations: 290.6 kB / 313.5 MB, free: 2.82 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.243/1.243, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.002856/0.002856, allocations: 91.11 kB / 0.7404 GB, free: 28.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1973, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04866/0.246, allocations: 39.79 MB / 0.8724 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02166/0.2677, allocations: 11.43 MB / 0.8835 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.2722, allocations: 206.5 kB / 0.8837 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01301/0.2852, allocations: 4.568 MB / 0.8882 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008914/0.2941, allocations: 2.332 MB / 0.8905 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007317/0.3014, allocations: 2.239 MB / 0.8927 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01327/0.3147, allocations: 9.273 MB / 0.9017 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.3272, allocations: 6.411 MB / 0.908 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008609/0.3358, allocations: 4.102 MB / 0.912 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01017/0.346, allocations: 4.759 MB / 0.9166 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.003142/0.3491, allocations: 0.8242 MB / 0.9174 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005273/0.3544, allocations: 1.611 MB / 0.919 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006341/0.3607, allocations: 3.235 MB / 0.9222 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009683/0.3704, allocations: 3.653 MB / 0.9257 GB, free: 9.84 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.3898, allocations: 12.35 MB / 0.9378 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.3898, allocations: 4 kB / 0.9378 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3898, allocations: 0 / 0.9378 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004399/0.3903, allocations: 0 / 0.9378 GB, free: 13.45 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01926/0.4095, allocations: 6.391 MB / 0.944 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.4096, allocations: 13.94 kB / 0.9441 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002296/0.4098, allocations: 151.6 kB / 0.9442 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003143/0.413, allocations: 0.8255 MB / 0.945 GB, free: 6 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006866/0.4198, allocations: 1.09 MB / 0.9461 GB, free: 4.906 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009697/0.4295, allocations: 3.58 MB / 0.9496 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000465/0.43, allocations: 423.7 kB / 0.95 GB, free: 0.8477 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002165/0.4322, allocations: 0.5432 MB / 0.9505 GB, free: 312 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.4548, allocations: 9.377 MB / 0.9597 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/0.4551, allocations: 23.8 kB / 0.9597 GB, free: 6.57 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/0.4566, allocations: 255.9 kB / 0.9599 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007235/0.4574, allocations: 418.9 kB / 0.9603 GB, free: 5.91 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.4734, allocations: 7.124 MB / 0.9673 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4431/0.9165, allocations: 40.7 MB / 1.007 GB, free: 104.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.9225, allocations: 2.918 MB / 1.01 GB, free: 103.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/0.9262, allocations: 1.933 MB / 1.012 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.9263, allocations: 21.84 kB / 1.012 GB, free: 102.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.503e-05/0.9264, allocations: 62.5 kB / 1.012 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=209): time 5.46e-06/0.9264, allocations: 1.156 kB / 1.012 GB, free: 102.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=212): time 0.0238/0.9502, allocations: 10.28 MB / 1.022 GB, free: 98.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9502, allocations: 73.19 kB / 1.022 GB, free: 98.28 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/0.953, allocations: 2.006 MB / 1.024 GB, free: 97.21 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/0.9533, allocations: 65.64 kB / 1.024 GB, free: 97.14 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.9545, allocations: 2.473 MB / 1.026 GB, free: 95.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007137/0.9552, allocations: 0.7706 MB / 1.027 GB, free: 94.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008785/0.9561, allocations: 481.6 kB / 1.028 GB, free: 94.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.956e-05/0.9561, allocations: 305.1 kB / 1.028 GB, free: 94.21 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.9578, allocations: 1.373 MB / 1.029 GB, free: 93.49 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.9599, allocations: 2.105 MB / 1.031 GB, free: 91.83 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.9638, allocations: 3.771 MB / 1.035 GB, free: 89.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.64e-05/0.9639, allocations: 3.75 kB / 1.035 GB, free: 89.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006928/0.9708, allocations: 5.025 MB / 1.04 GB, free: 86.58 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.9708, allocations: 13.41 kB / 1.04 GB, free: 86.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.9708, allocations: 28.56 kB / 1.04 GB, free: 86.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003091/0.9739, allocations: 1.589 MB / 1.041 GB, free: 85.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/0.9756, allocations: 463.5 kB / 1.042 GB, free: 85.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.9926, allocations: 18.17 MB / 1.06 GB, free: 67.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/0.9956, allocations: 147.8 kB / 1.06 GB, free: 67.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.9959, allocations: 112.2 kB / 1.06 GB, free: 67.07 MB / 0.7169 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003114/0.999, allocations: 1.938 MB / 1.062 GB, free: 65.12 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/0.9995, allocations: 302.2 kB / 1.062 GB, free: 64.82 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005985/1.006, allocations: 4.404 MB / 1.066 GB, free: 60.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.006, allocations: 20 kB / 1.066 GB, free: 60.37 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.456e-05/1.006, allocations: 27.94 kB / 1.066 GB, free: 60.34 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/1.006, allocations: 11.95 kB / 1.066 GB, free: 60.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.019, allocations: 9.591 MB / 1.076 GB, free: 50.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.019, allocations: 8 kB / 1.076 GB, free: 50.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.02, allocations: 230 kB / 1.076 GB, free: 50.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.023, allocations: 1.427 MB / 1.077 GB, free: 48.97 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/1.023, allocations: 40 kB / 1.077 GB, free: 48.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.041, allocations: 18.19 MB / 1.095 GB, free: 30.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.041, allocations: 11.88 kB / 1.095 GB, free: 30.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/1.047, allocations: 4.499 MB / 1.1 GB, free: 25.71 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.049, allocations: 0.5722 MB / 1.1 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/1.049, allocations: 40 kB / 1.1 GB, free: 25.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.051, allocations: 119.9 kB / 1.1 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004385/1.051, allocations: 197.2 kB / 1.101 GB, free: 24.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.051, allocations: 56 kB / 1.101 GB, free: 24.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001451/1.053, allocations: 1.315 MB / 1.102 GB, free: 23.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/1.053, allocations: 4 kB / 1.102 GB, free: 23.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003017/1.056, allocations: 1.145 MB / 1.103 GB, free: 22.25 MB / 0.7169 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005879/1.062, allocations: 5.12 MB / 1.108 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006009/1.068, allocations: 4.536 MB / 1.112 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/1.068, allocations: 4 kB / 1.112 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.003743/1.071, allocations: 2.8 MB / 1.115 GB, free: 9.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/1.075, allocations: 0.8986 MB / 1.116 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05304/1.128, allocations: 30.59 MB / 1.146 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005684/1.134, allocations: 3.686 MB / 1.15 GB, free: 5.23 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002235/1.136, allocations: 0.5556 MB / 1.15 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002922/1.139, allocations: 1.952 MB / 1.152 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of SimCode: time 1.392e-06/1.139, allocations: 4 kB / 1.152 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1723/1.311, allocations: 88.28 MB / 1.238 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.25/18.56, allocations: 7.625 kB / 1.238 GB, free: 11.43 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.533404939051252] Failed to read output from testmodel.py, exit status != 0: 18.78069190698443 18.80564761 18.410685912 Calling exit ...