Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 105.1 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 179.3 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.022/2.022, allocations: 292.3 MB / 0.5495 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.91 kB / 0.6722 GB, free: 6.539 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3709, allocations: 114.5 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.6696/1.041, allocations: 6.685 MB / 0.7906 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005692/1.046, allocations: 3.058 MB / 0.7936 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009556/1.047, allocations: 28.88 kB / 0.7936 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/1.05, allocations: 0.9434 MB / 0.7945 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/1.052, allocations: 0.5025 MB / 0.795 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001577/1.053, allocations: 420.1 kB / 0.7954 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002777/1.056, allocations: 1.226 MB / 0.7966 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001853/1.058, allocations: 0.6688 MB / 0.7973 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/1.059, allocations: 471.1 kB / 0.7977 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/1.061, allocations: 0.5151 MB / 0.7982 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003574/1.061, allocations: 69.31 kB / 0.7983 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/1.063, allocations: 379.7 kB / 0.7987 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006934/1.064, allocations: 309.1 kB / 0.799 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007815/1.064, allocations: 457.6 kB / 0.7994 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003025/1.068, allocations: 1.211 MB / 0.8006 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/1.068, allocations: 0 / 0.8006 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.745e-06/1.068, allocations: 0 / 0.8006 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.217e-05/1.068, allocations: 0 / 0.8006 GB, free: 43.05 MB / 0.6544 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.004053/1.072, allocations: 1.163 MB / 0.8017 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/1.072, allocations: 10.03 kB / 0.8017 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/1.074, allocations: 230.3 kB / 0.8019 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.075, allocations: 0.5492 MB / 0.8025 GB, free: 41.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/1.075, allocations: 49.03 kB / 0.8025 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.075, allocations: 61.8 kB / 0.8026 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/1.078, allocations: 1.085 MB / 0.8037 GB, free: 41.17 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.555e-05/1.078, allocations: 9.969 kB / 0.8037 GB, free: 41.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-05/1.078, allocations: 33.45 kB / 0.8037 GB, free: 41.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002334/1.078, allocations: 89.38 kB / 0.8038 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/1.08, allocations: 0.749 MB / 0.8045 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/1.086, allocations: 5.88 MB / 0.8103 GB, free: 35.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/1.088, allocations: 0.5505 MB / 0.8108 GB, free: 35.64 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/1.088, allocations: 324.9 kB / 0.8111 GB, free: 35.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/1.088, allocations: 9.625 kB / 0.8111 GB, free: 35.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/1.088, allocations: 42.2 kB / 0.8111 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/1.088, allocations: 5.156 kB / 0.8112 GB, free: 35.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48): time 0.004751/1.093, allocations: 1.976 MB / 0.8131 GB, free: 34.42 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/1.093, allocations: 56.03 kB / 0.8131 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008609/1.094, allocations: 0.5583 MB / 0.8137 GB, free: 34.09 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/1.094, allocations: 34.58 kB / 0.8137 GB, free: 34.06 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/1.095, allocations: 417.4 kB / 0.8141 GB, free: 33.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.095, allocations: 171 kB / 0.8143 GB, free: 33.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/1.095, allocations: 124.8 kB / 0.8144 GB, free: 33.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.095, allocations: 378.7 kB / 0.8148 GB, free: 33.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/1.096, allocations: 274.2 kB / 0.815 GB, free: 33.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/1.096, allocations: 498.7 kB / 0.8155 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.097, allocations: 0.8108 MB / 0.8163 GB, free: 32.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.097, allocations: 2.344 kB / 0.8163 GB, free: 32.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002143/1.1, allocations: 1.091 MB / 0.8174 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.1, allocations: 9.375 kB / 0.8174 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/1.1, allocations: 6.141 kB / 0.8174 GB, free: 31.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000979/1.101, allocations: 281 kB / 0.8176 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/1.101, allocations: 126 kB / 0.8178 GB, free: 31.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/1.108, allocations: 7.136 MB / 0.8247 GB, free: 25.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/1.109, allocations: 40.91 kB / 0.8248 GB, free: 25.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/1.109, allocations: 26.75 kB / 0.8248 GB, free: 25.37 MB / 0.6544 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.0005093/1.11, allocations: 255.7 kB / 0.825 GB, free: 25.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.11, allocations: 76.64 kB / 0.8251 GB, free: 25.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/1.112, allocations: 0.8872 MB / 0.826 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.112, allocations: 9.625 kB / 0.826 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/1.112, allocations: 4.125 kB / 0.826 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.112, allocations: 6.531 kB / 0.826 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/1.115, allocations: 1.713 MB / 0.8277 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/1.115, allocations: 1.312 kB / 0.8277 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/1.116, allocations: 64.7 kB / 0.8277 GB, free: 23.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008363/1.117, allocations: 273.3 kB / 0.828 GB, free: 23.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/1.117, allocations: 8.438 kB / 0.828 GB, free: 23.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/1.123, allocations: 7.116 MB / 0.8349 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.123, allocations: 5.844 kB / 0.8349 GB, free: 17.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/1.125, allocations: 0.9875 MB / 0.8359 GB, free: 17.05 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/1.126, allocations: 191.1 kB / 0.8361 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/1.126, allocations: 13.44 kB / 0.8361 GB, free: 16.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/1.126, allocations: 33.61 kB / 0.8361 GB, free: 16.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.126, allocations: 41.34 kB / 0.8362 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/1.126, allocations: 14.84 kB / 0.8362 GB, free: 16.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000644/1.127, allocations: 385.2 kB / 0.8366 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/1.127, allocations: 1.688 kB / 0.8366 GB, free: 16.7 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001175/1.128, allocations: 225.5 kB / 0.8368 GB, free: 16.67 MB / 0.6544 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.0002265/1.129, allocations: 117.3 kB / 0.8369 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002512/1.131, allocations: 1.272 MB / 0.8381 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.131, allocations: 1.062 kB / 0.8381 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/1.132, allocations: 0.8889 MB / 0.839 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.134, allocations: 220.5 kB / 0.8392 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/1.137, allocations: 1.326 MB / 0.8405 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.138, allocations: 1.006 MB / 0.8415 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007229/1.139, allocations: 124.6 kB / 0.8416 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.139, allocations: 41.05 kB / 0.8416 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of SimCode: time 1.934e-06/1.139, allocations: 0 / 0.8416 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.03812/1.177, allocations: 11.18 MB / 0.8526 GB, free: 10.94 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)