Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.7 MB / 302.2 MB, free: 2.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 178.1 kB / 371.6 MB, free: 3.445 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 92.53 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.474e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.043, allocations: 139.8 MB / 1.116 GB, free: 44.05 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/1.043, allocations: 75.33 kB / 1.116 GB, free: 44.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007727/1.051, allocations: 3.2 MB / 1.12 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.422e-06/1.051, allocations: 0.7188 kB / 1.12 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.813e-06/1.051, allocations: 4 kB / 1.12 GB, free: 42.18 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003576/1.051, allocations: 380.2 kB / 1.12 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.051, allocations: 15.45 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007242/1.052, allocations: 94.2 kB / 1.12 GB, free: 41.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.293e-05/1.052, allocations: 175 kB / 1.12 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.052, allocations: 7.938 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/1.052, allocations: 11.2 kB / 1.12 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/1.053, allocations: 103.9 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/1.053, allocations: 1.688 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/1.053, allocations: 4.438 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.053, allocations: 4.5 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/1.053, allocations: 65.89 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/1.054, allocations: 460.6 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/1.054, allocations: 68.75 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/1.054, allocations: 33.3 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/1.054, allocations: 4.594 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.526e-05/1.054, allocations: 33.98 kB / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/1.054, allocations: 0 / 1.121 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002205/1.054, allocations: 94.91 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/1.054, allocations: 51.41 kB / 1.121 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.791e-05/1.054, allocations: 146 kB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/1.054, allocations: 29.64 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/1.054, allocations: 103.6 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/1.054, allocations: 22.97 kB / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.054, allocations: 0 / 1.121 GB, free: 40.49 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.626e-05/1.054, allocations: 318.8 kB / 1.122 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/1.054, allocations: 34.59 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.933e-05/1.055, allocations: 23.69 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/1.055, allocations: 27.91 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.055, allocations: 1.219 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001555/1.055, allocations: 106.3 kB / 1.122 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.055, allocations: 93.72 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/1.055, allocations: 0 / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/1.055, allocations: 0 / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.055, allocations: 50.11 kB / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.055, allocations: 0 / 1.122 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/1.055, allocations: 34.36 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/1.055, allocations: 5.125 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/1.055, allocations: 4 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 6.887e-05/1.055, allocations: 40.28 kB / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-07/1.055, allocations: 0 / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-06/1.055, allocations: 0 / 1.122 GB, free: 39.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.884e-05/1.056, allocations: 23.98 kB / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/1.056, allocations: 0 / 1.122 GB, free: 39.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.363e-05/1.056, allocations: 23.36 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/1.056, allocations: 0.75 kB / 1.122 GB, free: 39.83 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/1.056, allocations: 108.9 kB / 1.122 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/1.056, allocations: 7.906 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/1.056, allocations: 11.39 kB / 1.122 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.056, allocations: 5.125 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.056, allocations: 7.953 kB / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.056, allocations: 0 / 1.122 GB, free: 39.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003539/1.056, allocations: 400.5 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.056, allocations: 4.5 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/1.056, allocations: 41.98 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/1.056, allocations: 3.953 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/1.056, allocations: 13.12 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.056, allocations: 0.5469 kB / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.056, allocations: 0 / 1.123 GB, free: 39.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/1.057, allocations: 233 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/1.057, allocations: 95.56 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/1.057, allocations: 0.6562 kB / 1.123 GB, free: 38.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002444/1.057, allocations: 35.55 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/1.057, allocations: 3.234 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/1.057, allocations: 7.375 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.785e-05/1.057, allocations: 117.9 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.057, allocations: 0 / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002668/1.057, allocations: 31.75 kB / 1.123 GB, free: 38.8 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000111/1.058, allocations: 106 kB / 1.123 GB, free: 38.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001937/1.058, allocations: 91.12 kB / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.058, allocations: 0 / 1.123 GB, free: 38.63 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/1.058, allocations: 38.91 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/1.058, allocations: 13.31 kB / 1.123 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005918/1.059, allocations: 172.6 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/1.059, allocations: 0.7025 MB / 1.124 GB, free: 37.74 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001036/1.059, allocations: 19.42 kB / 1.124 GB, free: 37.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/1.059, allocations: 18.47 kB / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.059, allocations: 0 / 1.124 GB, free: 37.71 MB / 0.7448 GB Notification: Performance of Templates: time 0.003329/1.062, allocations: 1.404 MB / 1.126 GB, free: 36.95 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)