Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001749/0.001749, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001369/0.001369, allocations: 162.4 kB / 23.01 MB, free: 4.602 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.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.002418/0.002418, allocations: 238.5 kB / 260 MB, free: 452 kB / 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 0.9361/0.9361, allocations: 138.5 MB / 455 MB, free: 15.08 MB / 430.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: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [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.005081/0.005081, allocations: 95.86 kB / 0.6473 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4692, allocations: 95.35 MB / 0.7405 GB, free: 17.51 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.006999/0.4762, allocations: 6.554 MB / 0.7469 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004571/0.4807, allocations: 3.059 MB / 0.7498 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.4813, allocations: 43.19 kB / 0.7499 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.4839, allocations: 0.9533 MB / 0.7508 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002457/0.4864, allocations: 0.5268 MB / 0.7513 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.488, allocations: 445.3 kB / 0.7518 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.4899, allocations: 1.231 MB / 0.753 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008728/0.4907, allocations: 0.5324 MB / 0.7535 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007327/0.4915, allocations: 0.4885 MB / 0.754 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008019/0.4923, allocations: 0.5083 MB / 0.7545 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.4924, allocations: 66.91 kB / 0.7545 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008015/0.4932, allocations: 351 kB / 0.7549 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003491/0.4935, allocations: 315.1 kB / 0.7552 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.494, allocations: 374.6 kB / 0.7555 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4953, allocations: 1.239 MB / 0.7567 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4953, allocations: 0 / 0.7567 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.245e-06/0.4953, allocations: 0 / 0.7567 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.348e-05/0.4953, allocations: 1.406 kB / 0.7567 GB, free: 7.844 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001884/0.4972, allocations: 1.118 MB / 0.7578 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4972, allocations: 9.875 kB / 0.7578 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.4988, allocations: 249.6 kB / 0.7581 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009694/0.4997, allocations: 0.54 MB / 0.7586 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.4998, allocations: 47.98 kB / 0.7586 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.4999, allocations: 65.98 kB / 0.7587 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.5019, allocations: 1.345 MB / 0.76 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.5019, allocations: 2.906 kB / 0.76 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.502, allocations: 33.42 kB / 0.76 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.5023, allocations: 84.44 kB / 0.7601 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00187/0.5041, allocations: 0.7514 MB / 0.7609 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00637/0.5105, allocations: 4.524 MB / 0.7653 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.5119, allocations: 0.5118 MB / 0.7658 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.5125, allocations: 291.5 kB / 0.7661 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.772e-05/0.5126, allocations: 5.688 kB / 0.7661 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5126, allocations: 42.53 kB / 0.7661 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=47): time 3.717e-06/0.5126, allocations: 0 / 0.7661 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of matching and sorting (n=48): time 0.005512/0.5181, allocations: 1.679 MB / 0.7677 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.5182, allocations: 61.39 kB / 0.7678 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.5191, allocations: 0.5161 MB / 0.7683 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.5192, allocations: 37.11 kB / 0.7683 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.5196, allocations: 434 kB / 0.7688 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.5198, allocations: 176.9 kB / 0.7689 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003088/0.5201, allocations: 123.2 kB / 0.769 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002438/0.5203, allocations: 373.9 kB / 0.7694 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006606/0.521, allocations: 279.5 kB / 0.7697 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009053/0.5219, allocations: 498.6 kB / 0.7701 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.5235, allocations: 0.8073 MB / 0.7709 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5235, allocations: 2.75 kB / 0.7709 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002921/0.5264, allocations: 1.078 MB / 0.772 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.5264, allocations: 10.25 kB / 0.772 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.5265, allocations: 6.969 kB / 0.772 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.5278, allocations: 274 kB / 0.7723 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007947/0.5285, allocations: 129.1 kB / 0.7724 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009824/0.5384, allocations: 6.597 MB / 0.7788 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.5394, allocations: 38.16 kB / 0.7789 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.5395, allocations: 27.12 kB / 0.7789 GB, free: 6.363 MB / 0.6075 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0006041/0.5401, allocations: 255.9 kB / 0.7791 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.5403, allocations: 68.89 kB / 0.7792 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00246/0.5428, allocations: 0.8763 MB / 0.78 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.5428, allocations: 5.594 kB / 0.7801 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5428, allocations: 6.656 kB / 0.7801 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5428, allocations: 3.984 kB / 0.7801 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.5467, allocations: 1.531 MB / 0.7816 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5467, allocations: 5.438 kB / 0.7816 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004411/0.5472, allocations: 59.73 kB / 0.7816 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.5484, allocations: 267.1 kB / 0.7819 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.232e-05/0.5484, allocations: 14.78 kB / 0.7819 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009599/0.558, allocations: 6.586 MB / 0.7883 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.558, allocations: 2.406 kB / 0.7883 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.5605, allocations: 0.9771 MB / 0.7893 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005092/0.561, allocations: 112.3 kB / 0.7894 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5611, allocations: 15.83 kB / 0.7894 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005798/0.5617, allocations: 32.81 kB / 0.7894 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.5619, allocations: 48.11 kB / 0.7895 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.5619, allocations: 15.19 kB / 0.7895 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005844/0.5625, allocations: 348.4 kB / 0.7898 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5625, allocations: 0 / 0.7898 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00124/0.5638, allocations: 224.2 kB / 0.79 GB, free: 13.46 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002027/0.564, allocations: 118.8 kB / 0.7902 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002526/0.5665, allocations: 1.217 MB / 0.7913 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.5665, allocations: 4 kB / 0.7913 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.5681, allocations: 0.859 MB / 0.7922 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/0.5694, allocations: 209 kB / 0.7924 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.5724, allocations: 1.37 MB / 0.7937 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000491/0.5729, allocations: 420.6 kB / 0.7941 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003763/0.5733, allocations: 117.5 kB / 0.7942 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5734, allocations: 40.5 kB / 0.7943 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of SimCode: time 7.02e-07/0.5734, allocations: 0 / 0.7943 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of Templates: time 0.02118/0.5946, allocations: 11.36 MB / 0.8054 GB, free: 14.88 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.339002088992856] Failed to read output from testmodel.py, exit status != 0: 0.605743058025837 0.617474152 0.11918874800000001 Calling exit ...