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.001483/0.001483, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001671/0.001671, allocations: 217 kB / 22.25 MB, free: 5.082 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.341/1.341, allocations: 230.6 MB / 256 MB, free: 8.02 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.002404/0.002404, allocations: 282.8 kB / 312.7 MB, free: 2.793 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.135/1.135, allocations: 180.6 MB / 0.5369 GB, free: 13.07 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.002786/0.002786, allocations: 109.4 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1508, allocations: 95.38 MB / 0.8328 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03873/0.1895, allocations: 32.13 MB / 0.8641 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.2119, allocations: 14.01 MB / 0.8778 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.2147, allocations: 194.5 kB / 0.878 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.008795/0.2235, allocations: 3.342 MB / 0.8813 GB, free: 6.805 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007895/0.2314, allocations: 2.784 MB / 0.884 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005186/0.2366, allocations: 2.066 MB / 0.886 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.2467, allocations: 7.64 MB / 0.8935 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007163/0.2538, allocations: 4.647 MB / 0.898 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.26, allocations: 3.513 MB / 0.9014 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007491/0.2675, allocations: 3.562 MB / 0.9049 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001896/0.2694, allocations: 0.5977 MB / 0.9055 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/0.2741, allocations: 1.525 MB / 0.907 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003301/0.2774, allocations: 2.427 MB / 0.9093 GB, free: 9.855 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.005493/0.2829, allocations: 2.878 MB / 0.9122 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.2986, allocations: 9.496 MB / 0.9214 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.2986, allocations: 0 / 0.9214 GB, free: 13.44 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2986, allocations: 0 / 0.9214 GB, free: 13.44 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002059/0.2988, allocations: 0 / 0.9214 GB, free: 13.44 MB / 0.67 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.01007/0.3089, allocations: 5.199 MB / 0.9265 GB, free: 8.172 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3089, allocations: 9.344 kB / 0.9265 GB, free: 8.164 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008296/0.3098, allocations: 0.6203 MB / 0.9271 GB, free: 7.531 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005176/0.315, allocations: 1.02 MB / 0.9281 GB, free: 6.508 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/0.3211, allocations: 3.021 MB / 0.9311 GB, free: 3.395 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002491/0.3213, allocations: 320.8 kB / 0.9314 GB, free: 3.078 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006786/0.322, allocations: 423.9 kB / 0.9318 GB, free: 2.664 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.3324, allocations: 6.788 MB / 0.9384 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.992e-05/0.3325, allocations: 19.81 kB / 0.9384 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004185/0.3329, allocations: 188 kB / 0.9386 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007897/0.3337, allocations: 368 kB / 0.939 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008112/0.3418, allocations: 5.118 MB / 0.944 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03155/0.3734, allocations: 30.26 MB / 0.9735 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.3753, allocations: 1.324 MB / 0.9748 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.3769, allocations: 1.25 MB / 0.976 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.377, allocations: 13.31 kB / 0.976 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.3771, allocations: 47.88 kB / 0.9761 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=130): time 2.905e-06/0.3771, allocations: 0 / 0.9761 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199): time 0.3882/0.7653, allocations: 22.85 MB / 0.9984 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7653, allocations: 73.77 kB / 0.9985 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.768, allocations: 2.064 MB / 1 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/0.7682, allocations: 58.36 kB / 1.001 GB, free: 146.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/0.7692, allocations: 2.069 MB / 1.003 GB, free: 144.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000438/0.7697, allocations: 0.714 MB / 1.003 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005721/0.7702, allocations: 410.6 kB / 1.004 GB, free: 144.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.7703, allocations: 301.7 kB / 1.004 GB, free: 144 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/0.772, allocations: 1.433 MB / 1.005 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00224/0.7742, allocations: 2.014 MB / 1.007 GB, free: 142.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.7789, allocations: 3.695 MB / 1.011 GB, free: 140 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.779, allocations: 5.188 kB / 1.011 GB, free: 140 MB / 0.7325 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01034/0.7893, allocations: 5.596 MB / 1.016 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.7893, allocations: 17.22 kB / 1.016 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/0.7894, allocations: 16.34 kB / 1.016 GB, free: 137.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.7952, allocations: 2.095 MB / 1.018 GB, free: 137.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7966, allocations: 372 kB / 1.019 GB, free: 137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02691/0.8235, allocations: 36.61 MB / 1.055 GB, free: 106.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.8258, allocations: 132.3 kB / 1.055 GB, free: 106.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.826, allocations: 88.66 kB / 1.055 GB, free: 106.4 MB / 0.7325 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.002113/0.8281, allocations: 1.507 MB / 1.056 GB, free: 105.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004419/0.8286, allocations: 293.2 kB / 1.057 GB, free: 105.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00802/0.8366, allocations: 5.15 MB / 1.062 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.8366, allocations: 20 kB / 1.062 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.8366, allocations: 24 kB / 1.062 GB, free: 100.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.8366, allocations: 11.95 kB / 1.062 GB, free: 100 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/0.8504, allocations: 9.583 MB / 1.071 GB, free: 90.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8504, allocations: 11.98 kB / 1.071 GB, free: 90.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.8511, allocations: 211.6 kB / 1.071 GB, free: 90.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0048/0.8559, allocations: 1.84 MB / 1.073 GB, free: 88.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001232/0.856, allocations: 43.92 kB / 1.073 GB, free: 88.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0252/0.8812, allocations: 35.63 MB / 1.108 GB, free: 50.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.8812, allocations: 11.94 kB / 1.108 GB, free: 50.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007251/0.8885, allocations: 4.863 MB / 1.113 GB, free: 45.49 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.8898, allocations: 0.5511 MB / 1.113 GB, free: 44.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003369/0.8901, allocations: 40 kB / 1.113 GB, free: 44.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/0.8913, allocations: 123.8 kB / 1.113 GB, free: 44.78 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/0.8918, allocations: 213.4 kB / 1.113 GB, free: 44.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.8919, allocations: 56 kB / 1.114 GB, free: 44.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001439/0.8934, allocations: 1.378 MB / 1.115 GB, free: 43.13 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8934, allocations: 0 / 1.115 GB, free: 43.13 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002875/0.8962, allocations: 1.043 MB / 1.116 GB, free: 42.09 MB / 0.7325 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.007007/0.9032, allocations: 5.474 MB / 1.121 GB, free: 36.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.007766/0.911, allocations: 6.009 MB / 1.127 GB, free: 30.21 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/0.911, allocations: 4 kB / 1.127 GB, free: 30.21 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005002/0.916, allocations: 4.279 MB / 1.131 GB, free: 25.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/0.9197, allocations: 1.007 MB / 1.132 GB, free: 24.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0416/0.9613, allocations: 30.75 MB / 1.162 GB, free: 8.992 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/0.9649, allocations: 3.121 MB / 1.165 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001764/0.9667, allocations: 0.5276 MB / 1.166 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/0.9687, allocations: 1.671 MB / 1.167 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of SimCode: time 8.82e-07/0.9687, allocations: 0 / 1.167 GB, free: 3.633 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2231/1.192, allocations: 91.01 MB / 1.256 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/17.12, allocations: 4.062 kB / 1.256 GB, free: 9.762 MB / 0.8419 GB " [Timeout remaining time 643] (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: 21.23345207213424] Failed to read output from testmodel.py, exit status != 0: 17.273977949051186 17.295152951 16.992506354 Calling exit ...