Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.649/1.649, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008884/0.0008885, allocations: 187.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007851/0.0007851, allocations: 105 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 12 kB / 0.9088 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6334/0.6338, allocations: 120.3 MB / 1.026 GB, free: 55.94 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.8269, allocations: 164.8 MB / 1.187 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.8272, allocations: 102 kB / 1.187 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.09084/0.9181, allocations: 40.37 MB / 1.227 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9181, allocations: 0 / 1.227 GB, free: 4.535 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 6.835e-05/0.9182, allocations: 23.98 kB / 1.227 GB, free: 4.512 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001833/0.9201, allocations: 0.9238 MB / 1.228 GB, free: 3.535 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9201, allocations: 12.03 kB / 1.228 GB, free: 3.523 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.9217, allocations: 227.6 kB / 1.228 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.9227, allocations: 0.5454 MB / 1.228 GB, free: 2.711 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.9228, allocations: 45.67 kB / 1.228 GB, free: 2.668 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.923, allocations: 72.25 kB / 1.229 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.9245, allocations: 1.092 MB / 1.23 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.9245, allocations: 13.06 kB / 1.23 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/0.9246, allocations: 31.92 kB / 1.23 GB, free: 1.32 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.693e-05/0.9247, allocations: 61.27 kB / 1.23 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.9257, allocations: 0.6879 MB / 1.23 GB, free: 0.5664 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004746/0.9305, allocations: 5.777 MB / 1.236 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007556/0.9313, allocations: 0.5903 MB / 1.237 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.9319, allocations: 396.7 kB / 1.237 GB, free: 9.344 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.9319, allocations: 4 kB / 1.237 GB, free: 9.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.932, allocations: 39.06 kB / 1.237 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/0.932, allocations: 0 / 1.237 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of matching and sorting (n=42): time 0.004063/0.936, allocations: 2.054 MB / 1.239 GB, free: 7.141 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.9361, allocations: 59.34 kB / 1.239 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.9366, allocations: 450.8 kB / 1.24 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.9366, allocations: 33.64 kB / 1.24 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.9368, allocations: 379.3 kB / 1.24 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.9369, allocations: 149.9 kB / 1.24 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.937, allocations: 16 kB / 1.24 GB, free: 6.039 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9371, allocations: 362.8 kB / 1.24 GB, free: 5.676 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.9374, allocations: 237 kB / 1.241 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.9379, allocations: 433.5 kB / 1.241 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.9387, allocations: 0.7171 MB / 1.242 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9387, allocations: 0 / 1.242 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001606/0.9403, allocations: 1.011 MB / 1.243 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.9404, allocations: 8 kB / 1.243 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.9404, allocations: 8.031 kB / 1.243 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/0.9413, allocations: 324.7 kB / 1.243 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.9416, allocations: 87.83 kB / 1.243 GB, free: 2.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006065/0.9477, allocations: 7.109 MB / 1.25 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.9481, allocations: 32.53 kB / 1.25 GB, free: 10.99 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/0.9482, allocations: 24 kB / 1.25 GB, free: 10.96 MB / 0.823 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 (49): * Single equations (assignments): 45 * 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%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003838/0.9486, allocations: 246.1 kB / 1.25 GB, free: 10.71 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.9487, allocations: 55.34 kB / 1.25 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.9502, allocations: 0.8999 MB / 1.251 GB, free: 9.734 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.9502, allocations: 8.047 kB / 1.251 GB, free: 9.727 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.9502, allocations: 7.984 kB / 1.251 GB, free: 9.719 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.9502, allocations: 5.297 kB / 1.251 GB, free: 9.715 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.9529, allocations: 1.862 MB / 1.253 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.9529, allocations: 0 / 1.253 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.9531, allocations: 45.41 kB / 1.253 GB, free: 7.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007779/0.9538, allocations: 280.7 kB / 1.253 GB, free: 7.418 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.9539, allocations: 8 kB / 1.253 GB, free: 7.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005752/0.9596, allocations: 6.838 MB / 1.26 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9597, allocations: 4.031 kB / 1.26 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001575/0.9613, allocations: 0.9523 MB / 1.261 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.9615, allocations: 168.4 kB / 1.261 GB, free: 14.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.9616, allocations: 8 kB / 1.261 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.9618, allocations: 28.97 kB / 1.261 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.65e-05/0.9619, allocations: 35.89 kB / 1.261 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.962, allocations: 12 kB / 1.261 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003552/0.9623, allocations: 310.9 kB / 1.262 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9623, allocations: 0 / 1.262 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007963/0.9631, allocations: 192 kB / 1.262 GB, free: 14.26 MB / 0.8386 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 (25): * Single equations (assignments): 21 * 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 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.9633, allocations: 118 kB / 1.262 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.9649, allocations: 1.166 MB / 1.263 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9649, allocations: 0 / 1.263 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.9659, allocations: 0.8231 MB / 1.264 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/0.9669, allocations: 180.6 kB / 1.264 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.9687, allocations: 1.458 MB / 1.265 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.9693, allocations: 0.9918 MB / 1.266 GB, free: 9.363 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000293/0.9696, allocations: 97.47 kB / 1.267 GB, free: 9.273 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.9696, allocations: 39.42 kB / 1.267 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.9696, allocations: 0 / 1.267 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of Templates: time 0.01355/0.9832, allocations: 8.833 MB / 1.275 GB, free: 0.5781 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)