Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.006517/0.006517, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001179/0.001179, allocations: 195.9 kB / 16.68 MB, free: 5.93 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.812/1.812, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.648/1.648, allocations: 251.7 MB / 0.5094 GB, free: 2.969 MB / 414.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.001425/0.001425, allocations: 64.47 kB / 0.7258 GB, free: 9.004 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3049, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01448/0.3194, allocations: 10.83 MB / 0.8386 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.3375, allocations: 8.87 MB / 0.8473 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003098/0.3407, allocations: 55.69 kB / 0.8473 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005677/0.3465, allocations: 1.662 MB / 0.849 GB, free: 10.69 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007664/0.3541, allocations: 1.537 MB / 0.8505 GB, free: 9.148 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003004/0.3572, allocations: 0.6782 MB / 0.8511 GB, free: 8.469 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005323/0.3625, allocations: 2.282 MB / 0.8533 GB, free: 6.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.3647, allocations: 1.38 MB / 0.8547 GB, free: 4.766 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001904/0.3666, allocations: 0.9809 MB / 0.8557 GB, free: 3.781 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.3683, allocations: 1.019 MB / 0.8566 GB, free: 2.758 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002235/0.3685, allocations: 136 kB / 0.8568 GB, free: 2.625 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3707, allocations: 0.8033 MB / 0.8576 GB, free: 1.82 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006313/0.3713, allocations: 0.5647 MB / 0.8581 GB, free: 1.254 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.3724, allocations: 0.89 MB / 0.859 GB, free: 368 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003382/0.3758, allocations: 2.574 MB / 0.8615 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.3758, allocations: 0 / 0.8615 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.404e-06/0.3758, allocations: 0 / 0.8615 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.3758, allocations: 0 / 0.8615 GB, free: 13.78 MB / 0.6856 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.003948/0.3798, allocations: 2.018 MB / 0.8635 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.3799, allocations: 8.031 kB / 0.8635 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.3909, allocations: 2.054 MB / 0.8655 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.3935, allocations: 1.205 MB / 0.8667 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/0.3936, allocations: 90.69 kB / 0.8667 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.3939, allocations: 124 kB / 0.8669 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005717/0.3996, allocations: 2.474 MB / 0.8693 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/0.3997, allocations: 7.938 kB / 0.8693 GB, free: 5.531 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.3998, allocations: 55.98 kB / 0.8693 GB, free: 5.477 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005175/0.4004, allocations: 126.1 kB / 0.8695 GB, free: 5.352 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007279/0.4076, allocations: 2.537 MB / 0.8719 GB, free: 2.805 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.4242, allocations: 10.04 MB / 0.8817 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006741/0.431, allocations: 1.948 MB / 0.8836 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.4339, allocations: 0.9738 MB / 0.8846 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.434, allocations: 8.422 kB / 0.8846 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.434, allocations: 39 kB / 0.8846 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.647e-06/0.434, allocations: 0 / 0.8846 GB, free: 5.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=81): time 0.03232/0.4664, allocations: 8.718 MB / 0.8932 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.4665, allocations: 60.06 kB / 0.8932 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.4682, allocations: 1.097 MB / 0.8943 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4684, allocations: 45.7 kB / 0.8943 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.469, allocations: 0.7418 MB / 0.8951 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/0.4693, allocations: 272 kB / 0.8953 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004002/0.4697, allocations: 202.4 kB / 0.8955 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4698, allocations: 341.9 kB / 0.8958 GB, free: 9.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/0.4728, allocations: 1.075 MB / 0.8969 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003098/0.4759, allocations: 1.305 MB / 0.8982 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006443/0.4824, allocations: 2.378 MB / 0.9005 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.4824, allocations: 4 kB / 0.9005 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00949/0.4919, allocations: 3.273 MB / 0.9037 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.492, allocations: 8 kB / 0.9037 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/0.4921, allocations: 8 kB / 0.9037 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.495, allocations: 0.7952 MB / 0.9045 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.4971, allocations: 419.2 kB / 0.9049 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7647/1.262, allocations: 15.91 MB / 0.9204 GB, free: 83.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/1.265, allocations: 290.4 kB / 0.9207 GB, free: 83.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.265, allocations: 51.64 kB / 0.9207 GB, free: 83.67 MB / 0.7325 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.001036/1.266, allocations: 404.4 kB / 0.9211 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/1.267, allocations: 143.1 kB / 0.9213 GB, free: 83.55 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.277, allocations: 3.212 MB / 0.9244 GB, free: 83.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.277, allocations: 8.938 kB / 0.9244 GB, free: 83.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/1.277, allocations: 8.188 kB / 0.9244 GB, free: 83.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/1.277, allocations: 4.078 kB / 0.9244 GB, free: 83.43 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/1.291, allocations: 4.897 MB / 0.9292 GB, free: 82.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.291, allocations: 7.125 kB / 0.9292 GB, free: 82.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.293, allocations: 355.3 kB / 0.9295 GB, free: 82.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003099/1.296, allocations: 0.6985 MB / 0.9302 GB, free: 82.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.296, allocations: 32.23 kB / 0.9303 GB, free: 82.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01658/1.312, allocations: 15.53 MB / 0.9454 GB, free: 69.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-06/1.313, allocations: 4.25 kB / 0.9454 GB, free: 69.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.323, allocations: 3.046 MB / 0.9484 GB, free: 68.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/1.324, allocations: 382.4 kB / 0.9488 GB, free: 67.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/1.324, allocations: 26.25 kB / 0.9488 GB, free: 67.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/1.326, allocations: 292.4 kB / 0.9491 GB, free: 67.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004996/1.327, allocations: 80.34 kB / 0.9491 GB, free: 67.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.327, allocations: 35.7 kB / 0.9492 GB, free: 67.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001461/1.328, allocations: 0.7377 MB / 0.9499 GB, free: 67.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.6e-07/1.328, allocations: 0 / 0.9499 GB, free: 67.55 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002256/1.331, allocations: 434.2 kB / 0.9503 GB, free: 67.51 MB / 0.7325 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.0003033/1.331, allocations: 132.9 kB / 0.9504 GB, free: 67.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009379/1.34, allocations: 3.633 MB / 0.954 GB, free: 65.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/1.34, allocations: 1.344 kB / 0.954 GB, free: 65.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005244/1.346, allocations: 2.373 MB / 0.9563 GB, free: 64.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/1.348, allocations: 0.5112 MB / 0.9568 GB, free: 64.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008628/1.357, allocations: 3.449 MB / 0.9602 GB, free: 62.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.358, allocations: 1.386 MB / 0.9615 GB, free: 62.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001616/1.36, allocations: 379.1 kB / 0.9619 GB, free: 61.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/1.36, allocations: 103.5 kB / 0.962 GB, free: 61.95 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.36, allocations: 0 / 0.962 GB, free: 61.95 MB / 0.7325 GB Notification: Performance of Templates: time 0.04659/1.407, allocations: 30.5 MB / 0.9918 GB, free: 39.62 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)