Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.663/2.663, allocations: 287.4 MB / 303.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 179 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.4 MB / 0.6305 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009065/0.0009064, allocations: 102.3 kB / 0.7438 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005033, allocations: 11.98 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9361/1.151, allocations: 159.9 MB / 1.135 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003412/1.151, allocations: 95.97 kB / 1.136 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.141/1.292, allocations: 36.75 MB / 1.171 GB, free: 8.02 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.885e-06/1.293, allocations: 0 / 1.171 GB, free: 8.02 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.055e-05/1.293, allocations: 20 kB / 1.171 GB, free: 8 MB / 0.698 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.003192/1.296, allocations: 1.035 MB / 1.173 GB, free: 6.969 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.296, allocations: 8.031 kB / 1.173 GB, free: 6.961 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002694/1.299, allocations: 235.6 kB / 1.173 GB, free: 6.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/1.3, allocations: 0.56 MB / 1.173 GB, free: 6.195 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.544e-05/1.3, allocations: 52.05 kB / 1.173 GB, free: 6.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.301, allocations: 65.75 kB / 1.173 GB, free: 6.117 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/1.303, allocations: 1.144 MB / 1.175 GB, free: 5.098 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.439e-05/1.303, allocations: 7.875 kB / 1.175 GB, free: 5.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.304, allocations: 37.42 kB / 1.175 GB, free: 5.074 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/1.304, allocations: 53.16 kB / 1.175 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002124/1.306, allocations: 0.747 MB / 1.175 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009159/1.315, allocations: 5.907 MB / 1.181 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/1.317, allocations: 0.5526 MB / 1.182 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/1.318, allocations: 338.9 kB / 1.182 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/1.318, allocations: 4.438 kB / 1.182 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.318, allocations: 38.81 kB / 1.182 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=47): time 3.617e-06/1.318, allocations: 0 / 1.182 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48): time 0.006737/1.324, allocations: 1.983 MB / 1.184 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/1.325, allocations: 63.28 kB / 1.184 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009876/1.326, allocations: 0.5499 MB / 1.185 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/1.326, allocations: 32.02 kB / 1.185 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/1.326, allocations: 400.3 kB / 1.185 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/1.326, allocations: 177 kB / 1.185 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/1.326, allocations: 10.69 kB / 1.185 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.327, allocations: 377.1 kB / 1.185 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/1.327, allocations: 267.6 kB / 1.186 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000832/1.328, allocations: 463.3 kB / 1.186 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/1.33, allocations: 0.7804 MB / 1.187 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.33, allocations: 3.938 kB / 1.187 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003127/1.333, allocations: 1.056 MB / 1.188 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/1.333, allocations: 8.094 kB / 1.188 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/1.333, allocations: 12 kB / 1.188 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/1.335, allocations: 272.8 kB / 1.188 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.336, allocations: 119 kB / 1.188 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009487/1.345, allocations: 6.595 MB / 1.195 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.346, allocations: 37.95 kB / 1.195 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.347, allocations: 26.88 kB / 1.195 GB, free: 2.242 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006528/1.347, allocations: 249.7 kB / 1.195 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.347, allocations: 78.91 kB / 1.195 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/1.35, allocations: 0.8841 MB / 1.196 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/1.35, allocations: 8 kB / 1.196 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.35, allocations: 8 kB / 1.196 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/1.35, allocations: 3.984 kB / 1.196 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/1.355, allocations: 1.716 MB / 1.198 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/1.355, allocations: 0 / 1.198 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/1.355, allocations: 62.77 kB / 1.198 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/1.357, allocations: 264.3 kB / 1.198 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.697e-05/1.357, allocations: 11 kB / 1.198 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009074/1.366, allocations: 6.594 MB / 1.205 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.366, allocations: 4.031 kB / 1.205 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002665/1.368, allocations: 0.9796 MB / 1.205 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/1.369, allocations: 192.6 kB / 1.206 GB, free: 8.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.369, allocations: 11.38 kB / 1.206 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/1.37, allocations: 29.34 kB / 1.206 GB, free: 8.199 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/1.37, allocations: 46.81 kB / 1.206 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.747e-05/1.37, allocations: 12 kB / 1.206 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007223/1.371, allocations: 379.2 kB / 1.206 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.11e-07/1.371, allocations: 0 / 1.206 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001231/1.372, allocations: 232.6 kB / 1.206 GB, free: 7.66 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002332/1.372, allocations: 126 kB / 1.206 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0031/1.375, allocations: 1.256 MB / 1.208 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.375, allocations: 0 / 1.208 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/1.378, allocations: 0.8972 MB / 1.209 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.38, allocations: 208 kB / 1.209 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003727/1.383, allocations: 1.576 MB / 1.21 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008716/1.384, allocations: 1.008 MB / 1.211 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008562/1.385, allocations: 125.9 kB / 1.211 GB, free: 2.844 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/1.385, allocations: 43.38 kB / 1.211 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of SimCode: time 3.386e-06/1.385, allocations: 0 / 1.211 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of Templates: time 0.0314/1.417, allocations: 10.3 MB / 1.222 GB, free: 8.629 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)