Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.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.00129/0.00129, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.001397/0.001397, allocations: 163.5 kB / 23.01 MB, free: 4.945 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.39/1.39, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.00246/0.00246, allocations: 239.8 kB / 260 MB, free: 416 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.9528/0.9528, allocations: 138.5 MB / 455 MB, free: 15.07 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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine") [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.003018/0.003018, allocations: 99.84 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4256, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01067/0.4363, allocations: 10.33 MB / 0.7505 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01142/0.4477, allocations: 8.504 MB / 0.7589 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.4488, allocations: 78.47 kB / 0.7589 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.4526, allocations: 1.682 MB / 0.7606 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.4562, allocations: 1.566 MB / 0.7621 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.4577, allocations: 0.6743 MB / 0.7628 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.4598, allocations: 2.287 MB / 0.765 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.461, allocations: 1.147 MB / 0.7661 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.4624, allocations: 1.033 MB / 0.7671 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.464, allocations: 1.002 MB / 0.7681 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.4642, allocations: 137.2 kB / 0.7682 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.4657, allocations: 0.738 MB / 0.7689 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.4662, allocations: 0.5822 MB / 0.7695 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008567/0.4671, allocations: 0.7267 MB / 0.7702 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.47, allocations: 2.595 MB / 0.7728 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.47, allocations: 5.375 kB / 0.7728 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4701, allocations: 0 / 0.7728 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.4701, allocations: 0 / 0.7728 GB, free: 12.2 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003438/0.4735, allocations: 1.991 MB / 0.7747 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4736, allocations: 10.94 kB / 0.7747 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01162/0.4852, allocations: 2.063 MB / 0.7767 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.4878, allocations: 1.138 MB / 0.7778 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.4879, allocations: 84.94 kB / 0.7779 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.4881, allocations: 124.6 kB / 0.778 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006157/0.4943, allocations: 2.883 MB / 0.7809 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.98e-05/0.4943, allocations: 4.656 kB / 0.7809 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.4945, allocations: 57.28 kB / 0.7809 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003795/0.4949, allocations: 127.8 kB / 0.781 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007505/0.5024, allocations: 2.543 MB / 0.7835 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.5154, allocations: 7.432 MB / 0.7908 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/0.5218, allocations: 1.843 MB / 0.7926 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.5247, allocations: 0.9427 MB / 0.7935 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.5247, allocations: 12.48 kB / 0.7935 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.5248, allocations: 43 kB / 0.7936 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 2.334e-06/0.5248, allocations: 3.938 kB / 0.7936 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of matching and sorting (n=81): time 0.03239/0.5572, allocations: 8.621 MB / 0.802 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.5572, allocations: 64.06 kB / 0.802 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5585, allocations: 0.9554 MB / 0.803 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.5586, allocations: 41.7 kB / 0.803 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.5592, allocations: 0.758 MB / 0.8038 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.5595, allocations: 297.4 kB / 0.804 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.5599, allocations: 202.5 kB / 0.8042 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.5601, allocations: 345.9 kB / 0.8046 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003178/0.5633, allocations: 1.079 MB / 0.8056 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003382/0.5667, allocations: 1.297 MB / 0.8069 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006499/0.5732, allocations: 2.39 MB / 0.8092 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.5732, allocations: 4 kB / 0.8092 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009378/0.5826, allocations: 3.238 MB / 0.8124 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5826, allocations: 8.125 kB / 0.8124 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5826, allocations: 8 kB / 0.8124 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002862/0.5855, allocations: 0.7871 MB / 0.8132 GB, free: 7.488 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.5874, allocations: 411.3 kB / 0.8136 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/0.6048, allocations: 14.82 MB / 0.828 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.6072, allocations: 287.7 kB / 0.8283 GB, free: 7.168 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.6074, allocations: 55.95 kB / 0.8284 GB, free: 7.113 MB / 0.6544 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0008456/0.6082, allocations: 405.4 kB / 0.8287 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/0.6085, allocations: 135.2 kB / 0.8289 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009135/0.6176, allocations: 3.165 MB / 0.832 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.6176, allocations: 12 kB / 0.832 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6176, allocations: 8 kB / 0.832 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6176, allocations: 3.984 kB / 0.832 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01137/0.629, allocations: 4.468 MB / 0.8364 GB, free: 14.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.629, allocations: 7.984 kB / 0.8364 GB, free: 14.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001728/0.6307, allocations: 351.3 kB / 0.8367 GB, free: 14.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.6331, allocations: 0.6939 MB / 0.8374 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.6332, allocations: 39.91 kB / 0.8374 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/0.6495, allocations: 14.42 MB / 0.8515 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.6495, allocations: 4 kB / 0.8515 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008665/0.6582, allocations: 3.012 MB / 0.8544 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.659, allocations: 298.9 kB / 0.8547 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/0.6592, allocations: 16 kB / 0.8547 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.6611, allocations: 299.6 kB / 0.855 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.6613, allocations: 80.45 kB / 0.8551 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.6614, allocations: 47.89 kB / 0.8551 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008874/0.6623, allocations: 0.6346 MB / 0.8558 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.6623, allocations: 0 / 0.8558 GB, free: 9.973 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001445/0.6638, allocations: 435.9 kB / 0.8562 GB, free: 9.547 MB / 0.6856 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.000226/0.664, allocations: 123.2 kB / 0.8563 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.008744/0.6727, allocations: 3.519 MB / 0.8597 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6728, allocations: 0 / 0.8597 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/0.6779, allocations: 2.317 MB / 0.862 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.68, allocations: 491.7 kB / 0.8625 GB, free: 2.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00787/0.6878, allocations: 3.485 MB / 0.8659 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.6888, allocations: 0.8015 MB / 0.8667 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001266/0.6901, allocations: 362.6 kB / 0.867 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.6904, allocations: 100.4 kB / 0.8671 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of SimCode: time 1.102e-06/0.6904, allocations: 0 / 0.8671 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of Templates: time 0.04856/0.739, allocations: 30.94 MB / 0.8973 GB, free: 15.75 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8893547599436715] Failed to read output from testmodel.py, exit status != 0: 0.7473699229303747 0.761759101 0.28854946000000004 Calling exit ...