Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.001441/0.001441, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001463/0.001463, allocations: 220.8 kB / 23 MB, free: 4.914 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.002523/0.002523, allocations: 291 kB / 313.5 MB, free: 2.73 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.237/1.237, allocations: 180.6 MB / 0.5377 GB, free: 14.51 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: translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.00301/0.00301, allocations: 102.8 kB / 0.7407 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1942, allocations: 95.38 MB / 0.8339 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009258/0.2035, allocations: 6.485 MB / 0.8402 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.2092, allocations: 3.044 MB / 0.8432 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006303/0.2098, allocations: 35.69 kB / 0.8432 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.2125, allocations: 0.9476 MB / 0.8441 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.2141, allocations: 0.5246 MB / 0.8446 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.2154, allocations: 434.5 kB / 0.8451 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.2174, allocations: 1.217 MB / 0.8462 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009946/0.2183, allocations: 0.5334 MB / 0.8468 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008634/0.2192, allocations: 490.3 kB / 0.8472 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007712/0.22, allocations: 0.5136 MB / 0.8477 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2201, allocations: 68 kB / 0.8478 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007674/0.2209, allocations: 343.3 kB / 0.8481 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.2212, allocations: 323.1 kB / 0.8484 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005148/0.2218, allocations: 374.2 kB / 0.8488 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.2233, allocations: 1.226 MB / 0.85 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.2233, allocations: 4 kB / 0.85 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2233, allocations: 0 / 0.85 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.2234, allocations: 0 / 0.85 GB, free: 7.23 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.002026/0.2254, allocations: 1.108 MB / 0.8511 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.2254, allocations: 9.344 kB / 0.8511 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.227, allocations: 240.1 kB / 0.8513 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2281, allocations: 0.523 MB / 0.8518 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.821e-05/0.2281, allocations: 57.67 kB / 0.8519 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.2283, allocations: 64.36 kB / 0.8519 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.2303, allocations: 1.336 MB / 0.8532 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.2303, allocations: 11.89 kB / 0.8533 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.61e-05/0.2304, allocations: 31.98 kB / 0.8533 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.2306, allocations: 81.25 kB / 0.8534 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2318, allocations: 0.7504 MB / 0.8541 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.2376, allocations: 4.519 MB / 0.8585 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2387, allocations: 0.5163 MB / 0.859 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.2392, allocations: 290 kB / 0.8593 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.2392, allocations: 4.438 kB / 0.8593 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.2392, allocations: 39 kB / 0.8593 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 2.766e-06/0.2392, allocations: 0 / 0.8593 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=48): time 0.004344/0.2436, allocations: 1.675 MB / 0.861 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.2436, allocations: 59.78 kB / 0.861 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009364/0.2446, allocations: 0.5143 MB / 0.8615 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.2446, allocations: 33.7 kB / 0.8616 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003782/0.245, allocations: 431.8 kB / 0.862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.2452, allocations: 178.5 kB / 0.8621 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2454, allocations: 130.6 kB / 0.8623 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.2456, allocations: 374.7 kB / 0.8626 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.2461, allocations: 273.8 kB / 0.8629 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.2467, allocations: 492.9 kB / 0.8634 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.248, allocations: 0.8084 MB / 0.8641 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.248, allocations: 0 / 0.8641 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002168/0.2501, allocations: 1.066 MB / 0.8652 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.2502, allocations: 14.28 kB / 0.8652 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2502, allocations: 8 kB / 0.8652 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008841/0.2511, allocations: 283.7 kB / 0.8655 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/0.2515, allocations: 123.8 kB / 0.8656 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008301/0.2598, allocations: 6.595 MB / 0.872 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.2606, allocations: 43.95 kB / 0.8721 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.2606, allocations: 32.12 kB / 0.8721 GB, free: 15.46 MB / 0.6231 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.0004761/0.2611, allocations: 254.1 kB / 0.8724 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2612, allocations: 71.58 kB / 0.8724 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.2629, allocations: 0.8685 MB / 0.8733 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.2629, allocations: 11.98 kB / 0.8733 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2629, allocations: 4 kB / 0.8733 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2629, allocations: 0 / 0.8733 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.2657, allocations: 1.521 MB / 0.8748 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/0.2657, allocations: 4.188 kB / 0.8748 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.266, allocations: 63.95 kB / 0.8748 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007566/0.2667, allocations: 263.1 kB / 0.8751 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.2667, allocations: 12 kB / 0.8751 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007267/0.274, allocations: 6.592 MB / 0.8815 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.274, allocations: 0 / 0.8815 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.2759, allocations: 0.9759 MB / 0.8825 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.2762, allocations: 111.5 kB / 0.8826 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/0.2763, allocations: 20 kB / 0.8826 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.2767, allocations: 31.97 kB / 0.8826 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.2768, allocations: 43.84 kB / 0.8827 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2768, allocations: 16 kB / 0.8827 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004304/0.2772, allocations: 338.9 kB / 0.883 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2772, allocations: 0 / 0.883 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008193/0.2781, allocations: 224 kB / 0.8832 GB, free: 3.508 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.0001773/0.2782, allocations: 127 kB / 0.8834 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002208/0.2804, allocations: 1.22 MB / 0.8846 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2804, allocations: 0 / 0.8846 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.2818, allocations: 0.8736 MB / 0.8854 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/0.2828, allocations: 204.9 kB / 0.8856 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2854, allocations: 1.42 MB / 0.887 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.2859, allocations: 415.3 kB / 0.8874 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.286, allocations: 43.44 kB / 0.8874 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.286, allocations: 0 / 0.8874 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of Templates: time 0.03059/0.3166, allocations: 20.7 MB / 0.9076 GB, free: 10.38 MB / 0.6544 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.160737769678235] Failed to read output from testmodel.py, exit status != 0: 0.3251497079618275 0.342450327 0.11563393100000001 Calling exit ...