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.0009357/0.0009357, allocations: 80.88 kB / 19.94 MB, free: 4.551 MB / 18.57 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.0009738/0.0009738, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 18.57 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 0.9595/0.9595, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 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.00235/0.00235, allocations: 234.7 kB / 260.5 MB, free: 12.68 MB / 250.7 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.7538/0.7538, allocations: 138.4 MB / 402.2 MB, free: 0.5234 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 462.4 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.297e-05/1.486e-05, allocations: 3.844 kB / 462.4 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.009924/0.009939, allocations: 7.706 MB / 470.1 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009949/0.01989, allocations: 5.906 MB / 476 MB, free: 5.004 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007403/0.02063, allocations: 79.31 kB / 476.1 MB, free: 4.926 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008841/0.02151, allocations: 378.5 kB / 476.4 MB, free: 4.555 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.02392, allocations: 1.424 MB / 477.8 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007157/0.02464, allocations: 0.5681 MB / 478.4 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.02645, allocations: 2.375 MB / 480.8 MB, free: 200 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009742/0.02742, allocations: 1.201 MB / 482 MB, free: 14.96 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.02867, allocations: 1.547 MB / 483.5 MB, free: 13.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007599/0.02943, allocations: 0.8551 MB / 484.4 MB, free: 12.56 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.02956, allocations: 132 kB / 484.5 MB, free: 12.43 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003706/0.02993, allocations: 303.6 kB / 484.8 MB, free: 12.13 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003233/0.03025, allocations: 0.5958 MB / 485.4 MB, free: 11.54 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.03089, allocations: 0.585 MB / 486 MB, free: 10.95 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009788/0.03186, allocations: 1.406 MB / 487.4 MB, free: 9.539 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.03187, allocations: 0 / 487.4 MB, free: 9.539 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.03187, allocations: 1.312 kB / 487.4 MB, free: 9.539 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.03188, allocations: 0 / 487.4 MB, free: 9.539 MB / 442.7 MB 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.001518/0.0334, allocations: 1.853 MB / 489.3 MB, free: 7.656 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.03343, allocations: 8.75 kB / 489.3 MB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00304/0.03647, allocations: 0.7866 MB / 490.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.03751, allocations: 1.036 MB / 491.1 MB, free: 5.793 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.76e-05/0.03756, allocations: 90.69 kB / 491.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.0377, allocations: 116.4 kB / 491.3 MB, free: 5.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.0392, allocations: 1.549 MB / 492.8 MB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.03923, allocations: 11.88 kB / 492.9 MB, free: 3.844 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.03932, allocations: 51.98 kB / 492.9 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003928/0.03971, allocations: 106.2 kB / 493 MB, free: 3.688 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006707/0.04038, allocations: 0.5102 MB / 493.5 MB, free: 3.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.04464, allocations: 5.304 MB / 498.8 MB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000808/0.04545, allocations: 412.8 kB / 499.2 MB, free: 13.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002245/0.04567, allocations: 157.5 kB / 499.4 MB, free: 13.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.0457, allocations: 13.12 kB / 499.4 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.04573, allocations: 41.84 kB / 499.4 MB, free: 13.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 1.694e-06/0.04573, allocations: 0 / 499.4 MB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=54): time 0.003686/0.04942, allocations: 1.826 MB / 0.4895 GB, free: 11.35 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.04944, allocations: 64.34 kB / 0.4896 GB, free: 11.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005075/0.04995, allocations: 0.8395 MB / 0.4904 GB, free: 10.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.05, allocations: 39.64 kB / 0.4904 GB, free: 10.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.05025, allocations: 0.5994 MB / 0.491 GB, free: 9.773 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.05037, allocations: 198.3 kB / 0.4912 GB, free: 9.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.05055, allocations: 142.5 kB / 0.4913 GB, free: 9.434 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.68e-05/0.05063, allocations: 337.9 kB / 0.4917 GB, free: 9.098 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.05084, allocations: 151.9 kB / 0.4918 GB, free: 8.953 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.05112, allocations: 375.6 kB / 0.4922 GB, free: 8.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.05166, allocations: 0.5742 MB / 0.4927 GB, free: 7.852 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.05166, allocations: 1.594 kB / 0.4927 GB, free: 7.852 MB / 458.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001065/0.05272, allocations: 0.801 MB / 0.4935 GB, free: 7.039 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.05274, allocations: 15.88 kB / 0.4935 GB, free: 7.023 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.05275, allocations: 12.03 kB / 0.4935 GB, free: 7.012 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007871/0.05354, allocations: 339 kB / 0.4939 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005317/0.05407, allocations: 179.7 kB / 0.494 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.05736, allocations: 5.45 MB / 0.4994 GB, free: 0.6719 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.05782, allocations: 45.05 kB / 0.4994 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.05788, allocations: 36.19 kB / 0.4994 GB, free: 0.5938 MB / 458.7 MB 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 (73): * Single equations (assignments): 69 * 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%), (3,5,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.0581, allocations: 160.5 kB / 0.4996 GB, free: 436 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.05823, allocations: 91.83 kB / 0.4997 GB, free: 344 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.05931, allocations: 0.7562 MB / 0.5004 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.05931, allocations: 4 kB / 0.5004 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.05932, allocations: 4 kB / 0.5004 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.05932, allocations: 3.984 kB / 0.5004 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.06113, allocations: 1.411 MB / 0.5018 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.06113, allocations: 0 / 0.5018 GB, free: 14.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004141/0.06154, allocations: 120 kB / 0.5019 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007368/0.06228, allocations: 330.3 kB / 0.5022 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.197e-05/0.06233, allocations: 23.91 kB / 0.5022 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.06564, allocations: 5.439 MB / 0.5076 GB, free: 7.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.06565, allocations: 4 kB / 0.5076 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.06664, allocations: 0.7827 MB / 0.5083 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.06688, allocations: 207 kB / 0.5085 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.06698, allocations: 15.98 kB / 0.5085 GB, free: 6.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003934/0.06737, allocations: 37.39 kB / 0.5086 GB, free: 6.676 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.06746, allocations: 60.28 kB / 0.5086 GB, free: 6.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.0675, allocations: 19.97 kB / 0.5087 GB, free: 6.598 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002831/0.06779, allocations: 424.6 kB / 0.5091 GB, free: 6.176 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06779, allocations: 0 / 0.5091 GB, free: 6.176 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000882/0.06867, allocations: 348 kB / 0.5094 GB, free: 5.836 MB / 474.7 MB 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 (37): * Single equations (assignments): 33 * 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%), (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.0001468/0.06882, allocations: 100.4 kB / 0.5095 GB, free: 5.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.0699, allocations: 1.068 MB / 0.5105 GB, free: 4.609 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.06991, allocations: 12.5 kB / 0.5105 GB, free: 4.598 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006954/0.07061, allocations: 0.8122 MB / 0.5113 GB, free: 3.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.07155, allocations: 494.1 kB / 0.5118 GB, free: 3.281 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.07397, allocations: 2.27 MB / 0.514 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.07418, allocations: 340.5 kB / 0.5143 GB, free: 0.6055 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006133/0.07479, allocations: 278.2 kB / 0.5146 GB, free: 352 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007451/0.07554, allocations: 399 kB / 0.515 GB, free: 15.95 MB / 490.7 MB Notification: Performance of SimCode: time 9.32e-07/0.07554, allocations: 0 / 0.515 GB, free: 15.95 MB / 490.7 MB Notification: Performance of Templates: time 0.0271/0.1026, allocations: 26.53 MB / 0.5409 GB, free: 6.145 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8625288871116936]