Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.305/2.305, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 190.7 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009998, allocations: 102.9 kB / 0.9329 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 49.86 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3165, allocations: 140.6 MB / 1.218 GB, free: 117.1 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01079/0.3274, allocations: 10.79 MB / 1.229 GB, free: 106.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3384, allocations: 8.851 MB / 1.237 GB, free: 97.43 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.3402, allocations: 51.62 kB / 1.237 GB, free: 97.38 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004135/0.3444, allocations: 1.568 MB / 1.239 GB, free: 95.81 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.35, allocations: 1.394 MB / 1.24 GB, free: 94.41 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.3521, allocations: 0.6157 MB / 1.241 GB, free: 93.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.3554, allocations: 2.914 MB / 1.244 GB, free: 90.88 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/0.3577, allocations: 1.331 MB / 1.245 GB, free: 89.51 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.3597, allocations: 0.8909 MB / 1.246 GB, free: 88.62 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002019/0.3617, allocations: 1.023 MB / 1.247 GB, free: 87.59 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.000463/0.3622, allocations: 91.94 kB / 1.247 GB, free: 87.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.3643, allocations: 0.9085 MB / 1.248 GB, free: 86.59 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007203/0.3651, allocations: 0.5217 MB / 1.248 GB, free: 86.07 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.3665, allocations: 0.8237 MB / 1.249 GB, free: 85.24 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.3693, allocations: 2.55 MB / 1.252 GB, free: 82.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.3694, allocations: 0 / 1.252 GB, free: 82.68 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3694, allocations: 0 / 1.252 GB, free: 82.68 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.722e-05/0.3695, allocations: 0 / 1.252 GB, free: 82.68 MB / 0.823 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.003483/0.373, allocations: 2.018 MB / 1.254 GB, free: 80.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.373, allocations: 15.98 kB / 1.254 GB, free: 80.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009997/0.383, allocations: 2.05 MB / 1.256 GB, free: 78.54 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.3849, allocations: 1.123 MB / 1.257 GB, free: 77.36 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.547e-05/0.3849, allocations: 86.69 kB / 1.257 GB, free: 77.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3851, allocations: 116.1 kB / 1.257 GB, free: 77.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004427/0.3895, allocations: 2.482 MB / 1.259 GB, free: 74.52 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.648e-05/0.3896, allocations: 11.84 kB / 1.259 GB, free: 74.51 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.3897, allocations: 63.97 kB / 1.259 GB, free: 74.45 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003067/0.39, allocations: 130.1 kB / 1.26 GB, free: 74.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00625/0.3963, allocations: 2.537 MB / 1.262 GB, free: 71.77 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/0.4077, allocations: 10.07 MB / 1.272 GB, free: 61.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00557/0.4133, allocations: 1.948 MB / 1.274 GB, free: 59.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002353/0.4157, allocations: 0.9777 MB / 1.275 GB, free: 58.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/0.4158, allocations: 8.422 kB / 1.275 GB, free: 58.09 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.4158, allocations: 39 kB / 1.275 GB, free: 58.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 3.105e-06/0.4158, allocations: 0 / 1.275 GB, free: 58.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.02746/0.4433, allocations: 8.71 MB / 1.283 GB, free: 49.27 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.4434, allocations: 60.06 kB / 1.283 GB, free: 49.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.4447, allocations: 1.097 MB / 1.284 GB, free: 48.09 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.4448, allocations: 45.64 kB / 1.284 GB, free: 48.04 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003823/0.4452, allocations: 0.7419 MB / 1.285 GB, free: 47.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.4454, allocations: 276 kB / 1.285 GB, free: 47.01 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.4458, allocations: 202.4 kB / 1.286 GB, free: 46.81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.4459, allocations: 349.9 kB / 1.286 GB, free: 46.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.4484, allocations: 1.075 MB / 1.287 GB, free: 45.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.4511, allocations: 1.301 MB / 1.288 GB, free: 43.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005279/0.4564, allocations: 2.386 MB / 1.291 GB, free: 41.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4564, allocations: 0 / 1.291 GB, free: 41.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007896/0.4643, allocations: 3.277 MB / 1.294 GB, free: 38.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.4644, allocations: 8 kB / 1.294 GB, free: 38.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4644, allocations: 4 kB / 1.294 GB, free: 38.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/0.4669, allocations: 0.799 MB / 1.295 GB, free: 37.36 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.4687, allocations: 415.3 kB / 1.295 GB, free: 36.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.4804, allocations: 14.7 MB / 1.309 GB, free: 21.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.4833, allocations: 287.5 kB / 1.31 GB, free: 20.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003214/0.4837, allocations: 51.97 kB / 1.31 GB, free: 20.85 MB / 0.823 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.001302/0.485, allocations: 405.5 kB / 1.31 GB, free: 20.44 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/0.4857, allocations: 142.3 kB / 1.31 GB, free: 20.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008497/0.4942, allocations: 3.202 MB / 1.313 GB, free: 17.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4943, allocations: 8 kB / 1.313 GB, free: 17.05 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/0.4943, allocations: 8 kB / 1.313 GB, free: 17.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.4943, allocations: 3.984 kB / 1.313 GB, free: 17.04 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5047, allocations: 4.924 MB / 1.318 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.5048, allocations: 8.031 kB / 1.318 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.5063, allocations: 351.4 kB / 1.318 GB, free: 11.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002167/0.5085, allocations: 0.6974 MB / 1.319 GB, free: 10.91 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/0.5086, allocations: 32.05 kB / 1.319 GB, free: 10.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.521, allocations: 14.31 MB / 1.333 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5211, allocations: 8.062 kB / 1.333 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.5334, allocations: 5.206 MB / 1.338 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/0.5344, allocations: 375.2 kB / 1.339 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003726/0.5348, allocations: 20 kB / 1.339 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/0.5368, allocations: 291.5 kB / 1.339 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003318/0.5372, allocations: 84.42 kB / 1.339 GB, free: 5.387 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5373, allocations: 39.97 kB / 1.339 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001225/0.5385, allocations: 0.7366 MB / 1.34 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5386, allocations: 0 / 1.34 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001979/0.5405, allocations: 432 kB / 1.34 GB, free: 4.188 MB / 0.8386 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.000303/0.5409, allocations: 130.4 kB / 1.34 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.008786/0.5497, allocations: 3.629 MB / 1.344 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.5497, allocations: 0 / 1.344 GB, free: 324 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.004957/0.5547, allocations: 2.367 MB / 1.346 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002945/0.5576, allocations: 484 kB / 1.347 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00913/0.5668, allocations: 4.528 MB / 1.351 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001579/0.5684, allocations: 1.411 MB / 1.352 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001908/0.5704, allocations: 371.9 kB / 1.353 GB, free: 6.977 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/0.5708, allocations: 107.4 kB / 1.353 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of SimCode: time 1.243e-06/0.5708, allocations: 0 / 1.353 GB, free: 6.871 MB / 0.8542 GB Notification: Performance of Templates: time 0.05261/0.6234, allocations: 30.25 MB / 1.382 GB, free: 8.984 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)