Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002698/0.002698, allocations: 195.5 kB / 16.53 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 70.81 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.321, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01258/0.3337, allocations: 10.91 MB / 1.079 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01244/0.3462, allocations: 8.799 MB / 1.087 GB, free: 6.637 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.3476, allocations: 55.62 kB / 1.087 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004258/0.3519, allocations: 1.683 MB / 1.089 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004818/0.3567, allocations: 1.522 MB / 1.091 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3589, allocations: 0.674 MB / 1.091 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003437/0.3624, allocations: 2.282 MB / 1.093 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002531/0.3649, allocations: 1.376 MB / 1.095 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.3669, allocations: 0.977 MB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3688, allocations: 1.031 MB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004929/0.3693, allocations: 136 kB / 1.097 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3712, allocations: 0.7955 MB / 1.098 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007471/0.3719, allocations: 0.5687 MB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.3735, allocations: 0.8861 MB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003634/0.3772, allocations: 2.539 MB / 1.102 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3772, allocations: 0 / 1.102 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3772, allocations: 0 / 1.102 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.613e-05/0.3773, allocations: 0 / 1.102 GB, free: 8.047 MB / 0.8575 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.004264/0.3816, allocations: 2.022 MB / 1.104 GB, free: 5.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3816, allocations: 12.03 kB / 1.104 GB, free: 5.957 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.3932, allocations: 2.046 MB / 1.106 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.396, allocations: 1.119 MB / 1.107 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3961, allocations: 86.69 kB / 1.107 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.3967, allocations: 124.1 kB / 1.107 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006567/0.4033, allocations: 2.482 MB / 1.109 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.871e-05/0.4033, allocations: 11.84 kB / 1.109 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.4036, allocations: 55.91 kB / 1.109 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000381/0.404, allocations: 130.1 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007853/0.4119, allocations: 2.537 MB / 1.112 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01518/0.4271, allocations: 10.08 MB / 1.122 GB, free: 2.406 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006386/0.4335, allocations: 1.944 MB / 1.124 GB, free: 444 kB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002852/0.4364, allocations: 0.9777 MB / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.4365, allocations: 8.375 kB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.4365, allocations: 39 kB / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=53): time 3.857e-06/0.4366, allocations: 0 / 1.125 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=81): time 0.03152/0.4681, allocations: 8.71 MB / 1.133 GB, free: 6.625 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.4682, allocations: 60.06 kB / 1.133 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4698, allocations: 1.101 MB / 1.134 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.47, allocations: 37.7 kB / 1.134 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005255/0.4705, allocations: 0.7379 MB / 1.135 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000295/0.4708, allocations: 280 kB / 1.135 GB, free: 4.367 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00041/0.4712, allocations: 198.4 kB / 1.136 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4714, allocations: 345.9 kB / 1.136 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.4743, allocations: 1.071 MB / 1.137 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003074/0.4774, allocations: 1.305 MB / 1.138 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/0.4834, allocations: 2.382 MB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/0.4835, allocations: 3.984 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008919/0.4924, allocations: 3.284 MB / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.4925, allocations: 9.719 kB / 1.144 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.4925, allocations: 4 kB / 1.144 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/0.4953, allocations: 0.7997 MB / 1.145 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.4973, allocations: 411.2 kB / 1.145 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/0.5134, allocations: 15.93 MB / 1.16 GB, free: 9.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.5158, allocations: 295.6 kB / 1.161 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/0.5161, allocations: 51.97 kB / 1.161 GB, free: 8.918 MB / 0.92 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.0008835/0.517, allocations: 408.4 kB / 1.161 GB, free: 8.512 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003921/0.5174, allocations: 142.3 kB / 1.161 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008833/0.5262, allocations: 3.202 MB / 1.164 GB, free: 5.129 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.5263, allocations: 11.94 kB / 1.164 GB, free: 5.117 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/0.5263, allocations: 8 kB / 1.165 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.5263, allocations: 3.984 kB / 1.165 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.5375, allocations: 4.901 MB / 1.169 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.5376, allocations: 7.938 kB / 1.169 GB, free: 72 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.5392, allocations: 355.7 kB / 1.17 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/0.5416, allocations: 0.7013 MB / 1.17 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.5417, allocations: 31.97 kB / 1.17 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01436/0.5561, allocations: 15.55 MB / 1.186 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5561, allocations: 4 kB / 1.186 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00821/0.5643, allocations: 3.042 MB / 1.189 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.5651, allocations: 383.2 kB / 1.189 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/0.5655, allocations: 16 kB / 1.189 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/0.5675, allocations: 299.4 kB / 1.189 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/0.5678, allocations: 76.48 kB / 1.189 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.5679, allocations: 35.97 kB / 1.189 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001242/0.5692, allocations: 0.7482 MB / 1.19 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5692, allocations: 0 / 1.19 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001699/0.5709, allocations: 432 kB / 1.19 GB, free: 9.188 MB / 0.9512 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.0002541/0.5712, allocations: 123.2 kB / 1.191 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008656/0.5798, allocations: 3.765 MB / 1.194 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.5799, allocations: 0 / 1.194 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004881/0.5847, allocations: 2.356 MB / 1.197 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.5872, allocations: 0.5275 MB / 1.197 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00743/0.5946, allocations: 3.489 MB / 1.2 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.5957, allocations: 1.388 MB / 1.202 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00158/0.5973, allocations: 375.9 kB / 1.202 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.5977, allocations: 111.4 kB / 1.202 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.5977, allocations: 0 / 1.202 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.06286/0.6606, allocations: 30.22 MB / 1.232 GB, free: 14.95 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)