Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.00168/0.00168, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002455/0.002455, allocations: 213.4 kB / 23.03 MB, free: 4.926 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.003911/0.003911, allocations: 297 kB / 313.5 MB, free: 2.605 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.291/1.291, allocations: 180.6 MB / 0.5377 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 178] 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.002921/0.002921, allocations: 102.9 kB / 0.7403 GB, free: 28.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1715, allocations: 95.39 MB / 0.8334 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01822/0.1897, allocations: 13.26 MB / 0.8464 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01505/0.2048, allocations: 9.121 MB / 0.8553 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2064, allocations: 83.25 kB / 0.8554 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005124/0.2115, allocations: 1.663 MB / 0.857 GB, free: 164 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005173/0.2167, allocations: 1.59 MB / 0.8585 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.2189, allocations: 0.7601 MB / 0.8593 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003808/0.2227, allocations: 2.53 MB / 0.8617 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.2246, allocations: 1.192 MB / 0.8629 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.2268, allocations: 1.094 MB / 0.864 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.2294, allocations: 1.214 MB / 0.8652 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.2297, allocations: 164 kB / 0.8653 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001705/0.2314, allocations: 0.7292 MB / 0.866 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007862/0.2322, allocations: 0.6347 MB / 0.8667 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001353/0.2336, allocations: 0.7699 MB / 0.8674 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.2374, allocations: 2.787 MB / 0.8701 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2374, allocations: 8 kB / 0.8701 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2374, allocations: 0 / 0.8701 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.6e-05/0.2374, allocations: 0 / 0.8701 GB, free: 2.617 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004202/0.2416, allocations: 2.112 MB / 0.8722 GB, free: 476 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.2417, allocations: 9.344 kB / 0.8722 GB, free: 468 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.731e-05/0.2417, allocations: 34.56 kB / 0.8722 GB, free: 432 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002543/0.242, allocations: 198.4 kB / 0.8724 GB, free: 224 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.2534, allocations: 2.098 MB / 0.8745 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.2565, allocations: 1.22 MB / 0.8757 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2566, allocations: 94.48 kB / 0.8758 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.2569, allocations: 120 kB / 0.8759 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.2632, allocations: 3.081 MB / 0.8789 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.2633, allocations: 7.938 kB / 0.8789 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/0.2635, allocations: 59.98 kB / 0.8789 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006449/0.2641, allocations: 178.1 kB / 0.8791 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007738/0.2718, allocations: 2.791 MB / 0.8818 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/0.2868, allocations: 8.348 MB / 0.89 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.2938, allocations: 2.223 MB / 0.8922 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003314/0.2971, allocations: 1.21 MB / 0.8933 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.82e-05/0.2972, allocations: 13 kB / 0.8934 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.2972, allocations: 47.55 kB / 0.8934 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 3.317e-06/0.2972, allocations: 0 / 0.8934 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04688/0.3441, allocations: 12.66 MB / 0.9058 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.3442, allocations: 64.72 kB / 0.9058 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3458, allocations: 1.117 MB / 0.9069 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.346, allocations: 53.7 kB / 0.907 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.3466, allocations: 0.7286 MB / 0.9077 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/0.3471, allocations: 467.9 kB / 0.9081 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/0.3477, allocations: 267.5 kB / 0.9084 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.3479, allocations: 361.8 kB / 0.9087 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.3513, allocations: 1.343 MB / 0.91 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003565/0.3549, allocations: 1.604 MB / 0.9116 GB, free: 7.387 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007012/0.3619, allocations: 2.991 MB / 0.9145 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.3619, allocations: 7.984 kB / 0.9145 GB, free: 4.293 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01215/0.374, allocations: 4.401 MB / 0.9188 GB, free: 15.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.3741, allocations: 8 kB / 0.9188 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.3741, allocations: 4 kB / 0.9188 GB, free: 15.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005741/0.3798, allocations: 1.423 MB / 0.9202 GB, free: 14.36 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/0.382, allocations: 439.2 kB / 0.9207 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0305/0.4125, allocations: 25.11 MB / 0.9452 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.415, allocations: 311.5 kB / 0.9455 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4152, allocations: 63.97 kB / 0.9455 GB, free: 2.961 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008833/0.4161, allocations: 437.4 kB / 0.946 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.4164, allocations: 167 kB / 0.9461 GB, free: 2.359 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4286, allocations: 4.406 MB / 0.9504 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/0.4286, allocations: 16 kB / 0.9504 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-05/0.4286, allocations: 12 kB / 0.9504 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.4286, allocations: 7.969 kB / 0.9504 GB, free: 13.85 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/0.4446, allocations: 6.296 MB / 0.9566 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.4446, allocations: 8.031 kB / 0.9566 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.4465, allocations: 379.5 kB / 0.957 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/0.4518, allocations: 1.311 MB / 0.9582 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002589/0.4521, allocations: 35.97 kB / 0.9583 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02828/0.4803, allocations: 23.98 MB / 0.9817 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.4804, allocations: 4 kB / 0.9817 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.4919, allocations: 4.164 MB / 0.9858 GB, free: 7.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/0.493, allocations: 390.7 kB / 0.9861 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.4933, allocations: 24 kB / 0.9862 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.4954, allocations: 311.5 kB / 0.9865 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004837/0.4959, allocations: 128.6 kB / 0.9866 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.496, allocations: 47.97 kB / 0.9866 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00115/0.4972, allocations: 0.7565 MB / 0.9874 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.4972, allocations: 0 / 0.9874 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00232/0.4995, allocations: 0.5703 MB / 0.9879 GB, free: 5.715 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.5113, allocations: 4.747 MB / 0.9926 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3531/0.8644, allocations: 4.961 MB / 0.9974 GB, free: 149.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.8644, allocations: 1 kB / 0.9974 GB, free: 149.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/0.8718, allocations: 3.427 MB / 1.001 GB, free: 147.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/0.8743, allocations: 0.5602 MB / 1.001 GB, free: 147.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03919/0.9135, allocations: 19.34 MB / 1.02 GB, free: 141.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000998/0.9145, allocations: 0.879 MB / 1.021 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001719/0.9162, allocations: 427.6 kB / 1.021 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008132/0.917, allocations: 0.6311 MB / 1.022 GB, free: 140.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.784e-06/0.917, allocations: 0 / 1.022 GB, free: 140.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1146/1.032, allocations: 56.46 MB / 1.077 GB, free: 87.74 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.21/22.24, allocations: 12.25 kB / 1.077 GB, free: 87.74 MB / 0.7325 GB " [Timeout remaining time 638] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.89201862702612] Failed to read output from testmodel.py, exit status != 0: 22.44293345604092 22.458349532 22.217656823 Calling exit ...