Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001393/0.001393, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001498/0.001498, allocations: 215 kB / 20.13 MB, free: 2.949 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.516/1.516, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002463/0.002463, allocations: 283.4 kB / 309.8 MB, free: 3.465 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.115/1.115, allocations: 180.6 MB / 0.5338 GB, free: 12.39 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_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.002935/0.002935, allocations: 103.8 kB / 0.7347 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5108/0.5137, allocations: 95.33 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04434/0.5581, allocations: 35.47 MB / 0.8624 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02195/0.58, allocations: 11.66 MB / 0.8738 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003855/0.5839, allocations: 211.8 kB / 0.874 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01204/0.5959, allocations: 4.316 MB / 0.8782 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006982/0.6029, allocations: 2.089 MB / 0.8803 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007562/0.6105, allocations: 2.419 MB / 0.8826 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01215/0.6226, allocations: 8.458 MB / 0.8909 GB, free: 6.793 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.6393, allocations: 8.416 MB / 0.8991 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008936/0.6482, allocations: 3.849 MB / 0.9029 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009015/0.6572, allocations: 4.424 MB / 0.9072 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002956/0.6602, allocations: 0.7773 MB / 0.908 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006417/0.6666, allocations: 2.063 MB / 0.91 GB, free: 5.738 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005684/0.6723, allocations: 3.137 MB / 0.913 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.008626/0.6809, allocations: 3.4 MB / 0.9164 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01966/0.7006, allocations: 12.02 MB / 0.9281 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.7006, allocations: 0 / 0.9281 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7006, allocations: 4 kB / 0.9281 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003125/0.7009, allocations: 0 / 0.9281 GB, free: 3.125 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01482/0.7157, allocations: 5.94 MB / 0.9339 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.7157, allocations: 8.031 kB / 0.9339 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000161/0.7159, allocations: 147.3 kB / 0.934 GB, free: 12.95 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002974/0.7189, allocations: 0.809 MB / 0.9348 GB, free: 12.13 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007769/0.7266, allocations: 1.086 MB / 0.9359 GB, free: 11.04 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007841/0.7345, allocations: 3.471 MB / 0.9393 GB, free: 7.516 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005039/0.735, allocations: 415.5 kB / 0.9397 GB, free: 7.109 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/0.7369, allocations: 0.5471 MB / 0.9402 GB, free: 6.562 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.7606, allocations: 9.075 MB / 0.9491 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003185/0.7609, allocations: 27.83 kB / 0.9491 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001711/0.7626, allocations: 239.9 kB / 0.9493 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000513/0.7631, allocations: 346.8 kB / 0.9497 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/0.78, allocations: 6.822 MB / 0.9563 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05672/0.8368, allocations: 39.86 MB / 0.9953 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/0.8411, allocations: 2.913 MB / 0.9981 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.8442, allocations: 1.786 MB / 0.9998 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/0.8443, allocations: 21.98 kB / 0.9999 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.865e-05/0.8444, allocations: 52.56 kB / 0.9999 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=179): time 6.593e-06/0.8444, allocations: 4 kB / 0.9999 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=182): time 0.02862/0.873, allocations: 9.988 MB / 1.01 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.8731, allocations: 77.34 kB / 1.01 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.8756, allocations: 1.519 MB / 1.011 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.8757, allocations: 57.7 kB / 1.011 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001774/0.8775, allocations: 2.324 MB / 1.014 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007079/0.8782, allocations: 0.6623 MB / 1.014 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006747/0.8789, allocations: 412.1 kB / 1.015 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8791, allocations: 305.1 kB / 1.015 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/0.881, allocations: 1.183 MB / 1.016 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.8836, allocations: 1.877 MB / 1.018 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004827/0.8884, allocations: 3.367 MB / 1.021 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/0.8884, allocations: 8 kB / 1.021 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008587/0.897, allocations: 4.543 MB / 1.026 GB, free: 10.08 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.897, allocations: 12 kB / 1.026 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-05/0.8971, allocations: 24 kB / 1.026 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.9011, allocations: 1.579 MB / 1.027 GB, free: 8.461 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.9025, allocations: 351.4 kB / 1.028 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02682/0.9293, allocations: 18.61 MB / 1.046 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.9315, allocations: 119.9 kB / 1.046 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.9317, allocations: 92 kB / 1.046 GB, free: 4.738 MB / 0.7794 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.003667/0.9354, allocations: 1.894 MB / 1.048 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005976/0.936, allocations: 234.5 kB / 1.048 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/0.9438, allocations: 4.043 MB / 1.052 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.9438, allocations: 20 kB / 1.052 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/0.9438, allocations: 16 kB / 1.052 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.9438, allocations: 11.91 kB / 1.052 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.9611, allocations: 9.414 MB / 1.061 GB, free: 4.824 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.556e-05/0.9611, allocations: 11.94 kB / 1.061 GB, free: 4.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008463/0.9619, allocations: 179.7 kB / 1.061 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00376/0.9657, allocations: 1.356 MB / 1.063 GB, free: 3.273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.9659, allocations: 32.25 kB / 1.063 GB, free: 3.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02472/0.9906, allocations: 17.37 MB / 1.08 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.587e-06/0.9906, allocations: 11.98 kB / 1.08 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007476/0.9981, allocations: 4.033 MB / 1.084 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/0.9993, allocations: 0.5385 MB / 1.084 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.9996, allocations: 47.94 kB / 1.084 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/1.001, allocations: 79.91 kB / 1.084 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000536/1.001, allocations: 165.7 kB / 1.084 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.001, allocations: 48 kB / 1.084 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001596/1.003, allocations: 1.008 MB / 1.085 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/1.003, allocations: 0 / 1.085 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.003255/1.006, allocations: 0.9882 MB / 1.086 GB, free: 10.26 MB / 0.8262 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.00762/1.014, allocations: 4.626 MB / 1.091 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.007637/1.021, allocations: 4.167 MB / 1.095 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/1.021, allocations: 1 kB / 1.095 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.004893/1.026, allocations: 2.572 MB / 1.098 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003603/1.03, allocations: 0.7908 MB / 1.098 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/1.078, allocations: 26.89 MB / 1.125 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/1.083, allocations: 3.576 MB / 1.128 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001408/1.084, allocations: 467.9 kB / 1.128 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002329/1.087, allocations: 1.784 MB / 1.13 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of SimCode: time 9.42e-07/1.087, allocations: 0 / 1.13 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4817/1.569, allocations: 74.51 MB / 1.203 GB, free: 245.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.96, allocations: 15.97 kB / 1.203 GB, free: 245.6 MB / 0.8731 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.65832994703669] Failed to read output from testmodel.py, exit status != 0: 16.137760184006765 16.155398934 15.451130775 Calling exit ...