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.001308/0.001308, allocations: 88.23 kB / 19.64 MB, free: 308 kB / 13.93 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.001509/0.001509, allocations: 168.9 kB / 23.02 MB, free: 1.574 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.8766/0.8766, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.00181/0.00181, allocations: 233.5 kB / 260.2 MB, free: 12.84 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.6578/0.6578, allocations: 138.4 MB / 455.2 MB, free: 1.562 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_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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.993e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006587/0.006607, allocations: 4.792 MB / 0.5598 GB, free: 11.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.01018, allocations: 1.699 MB / 0.5615 GB, free: 10.01 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004304/0.01061, allocations: 39.62 kB / 0.5615 GB, free: 9.969 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007629/0.01137, allocations: 214.4 kB / 0.5617 GB, free: 9.758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009407/0.01231, allocations: 449.1 kB / 0.5621 GB, free: 9.316 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001095/0.0134, allocations: 371.2 kB / 0.5625 GB, free: 8.953 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01512, allocations: 1.275 MB / 0.5637 GB, free: 7.676 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.01598, allocations: 0.5333 MB / 0.5643 GB, free: 7.137 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009749/0.01696, allocations: 0.6664 MB / 0.5649 GB, free: 6.469 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007323/0.01769, allocations: 498.6 kB / 0.5654 GB, free: 5.98 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.01782, allocations: 68 kB / 0.5654 GB, free: 5.914 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.01813, allocations: 143.7 kB / 0.5656 GB, free: 5.773 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.01842, allocations: 331.1 kB / 0.5659 GB, free: 5.449 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.01876, allocations: 303.3 kB / 0.5662 GB, free: 5.152 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008352/0.01959, allocations: 0.7435 MB / 0.5669 GB, free: 4.406 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.0196, allocations: 0 / 0.5669 GB, free: 4.406 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.0196, allocations: 4 kB / 0.5669 GB, free: 4.402 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.01961, allocations: 3.938 kB / 0.5669 GB, free: 4.398 MB / 490.7 MB 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.001537/0.02115, allocations: 1.173 MB / 0.5681 GB, free: 3.188 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.02119, allocations: 12.75 kB / 0.5681 GB, free: 3.176 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.02241, allocations: 311.8 kB / 0.5684 GB, free: 2.871 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000804/0.02321, allocations: 0.5433 MB / 0.5689 GB, free: 2.297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.02325, allocations: 49.67 kB / 0.569 GB, free: 2.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.02336, allocations: 72.31 kB / 0.569 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.02481, allocations: 1.08 MB / 0.5701 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/0.02484, allocations: 8.125 kB / 0.5701 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.011e-05/0.02491, allocations: 28.36 kB / 0.5701 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001489/0.02506, allocations: 89.19 kB / 0.5702 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000737/0.0258, allocations: 355.2 kB / 0.5705 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.02988, allocations: 5.721 MB / 0.5761 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.03083, allocations: 293.5 kB / 0.5764 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.03109, allocations: 125.1 kB / 0.5765 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.03111, allocations: 8.5 kB / 0.5765 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.03114, allocations: 41.89 kB / 0.5766 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.03115, allocations: 0 / 0.5766 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48): time 0.002595/0.03374, allocations: 1.091 MB / 0.5776 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.03377, allocations: 55.91 kB / 0.5777 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000505/0.03428, allocations: 0.5219 MB / 0.5782 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.03431, allocations: 33.7 kB / 0.5782 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.03457, allocations: 482.5 kB / 0.5787 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.0347, allocations: 178.5 kB / 0.5789 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.03488, allocations: 132.2 kB / 0.579 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.03505, allocations: 0.543 MB / 0.5795 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002535/0.03531, allocations: 113.9 kB / 0.5796 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.03574, allocations: 432.6 kB / 0.58 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.03645, allocations: 0.578 MB / 0.5806 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.03646, allocations: 0 / 0.5806 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001384/0.03784, allocations: 0.7414 MB / 0.5813 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.03786, allocations: 8 kB / 0.5813 GB, free: 4.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.03788, allocations: 8 kB / 0.5813 GB, free: 4.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.03905, allocations: 306.9 kB / 0.5816 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.03945, allocations: 123.8 kB / 0.5818 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00568/0.04513, allocations: 7.61 MB / 0.5892 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.04554, allocations: 48.02 kB / 0.5892 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.0456, allocations: 31.94 kB / 0.5893 GB, free: 12.13 MB / 0.5105 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.000202/0.0458, allocations: 196.4 kB / 0.5894 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.04592, allocations: 79.58 kB / 0.5895 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.04698, allocations: 0.5531 MB / 0.5901 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.04699, allocations: 8 kB / 0.5901 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.047, allocations: 0 / 0.5901 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.04701, allocations: 7.984 kB / 0.5901 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.04913, allocations: 1.162 MB / 0.5912 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.04913, allocations: 4.188 kB / 0.5912 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.04936, allocations: 59.89 kB / 0.5913 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.05041, allocations: 294.7 kB / 0.5916 GB, free: 9.641 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.05045, allocations: 12 kB / 0.5916 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005484/0.05593, allocations: 7.61 MB / 0.599 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.05594, allocations: 11.92 kB / 0.599 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.05703, allocations: 0.7169 MB / 0.5997 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.05721, allocations: 107.5 kB / 0.5998 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-05/0.05728, allocations: 11.98 kB / 0.5998 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.05755, allocations: 31.97 kB / 0.5999 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.685e-05/0.05765, allocations: 51.8 kB / 0.5999 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.05768, allocations: 8 kB / 0.5999 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002809/0.05796, allocations: 346.8 kB / 0.6002 GB, free: 204 kB / 0.5105 GB Notification: Performance of sort global known variables: time 9e-08/0.05796, allocations: 0 / 0.6002 GB, free: 204 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.1865/0.2444, allocations: 217.9 kB / 0.6004 GB, free: 91 MB / 0.5105 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.000188/0.2446, allocations: 112.3 kB / 0.6006 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.2457, allocations: 1.189 MB / 0.6017 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2457, allocations: 2.75 kB / 0.6017 GB, free: 90.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.2462, allocations: 0.9708 MB / 0.6027 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006141/0.2469, allocations: 194.3 kB / 0.6029 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2483, allocations: 1.263 MB / 0.6041 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.2484, allocations: 209.9 kB / 0.6043 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002001/0.2486, allocations: 103.7 kB / 0.6044 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.115e-05/0.2486, allocations: 38.22 kB / 0.6044 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/0.2486, allocations: 0 / 0.6044 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of Templates: time 0.01404/0.2627, allocations: 11.97 MB / 0.6161 GB, free: 87.86 MB / 0.5105 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8726710961200297]