Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001238/0.001238, allocations: 195.8 kB / 16.25 MB, free: 6.629 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.43/1.43, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.77/2.77, allocations: 472.6 MB / 0.7448 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.67 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3228, allocations: 159.9 MB / 1.068 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003043/0.3258, allocations: 1.696 MB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.3266, allocations: 340.9 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.123e-05/0.3267, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.386e-05/0.3267, allocations: 11.92 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.3268, allocations: 15.84 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.3272, allocations: 63.95 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3274, allocations: 111.5 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.3275, allocations: 27.98 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.285e-05/0.3276, allocations: 39.86 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.416e-05/0.3277, allocations: 51.77 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.3277, allocations: 11.94 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-05/0.3278, allocations: 31.97 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3278, allocations: 23.92 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.3279, allocations: 39.8 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.328, allocations: 111.9 kB / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3281, allocations: 0 / 1.07 GB, free: 8.184 MB / 0.8262 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.0006178/0.3287, allocations: 407.1 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.3287, allocations: 8.031 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3302, allocations: 160.6 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.3304, allocations: 184.2 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.3304, allocations: 4.375 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3305, allocations: 8.375 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.3312, allocations: 170 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3312, allocations: 4.125 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.3312, allocations: 11.94 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3313, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009424/0.3322, allocations: 183.8 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.3335, allocations: 476.2 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.3347, allocations: 186.4 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.335, allocations: 68.8 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.3351, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.3351, allocations: 38.55 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3351, allocations: 0 / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001238/0.3364, allocations: 229.3 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.3364, allocations: 51.41 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.3367, allocations: 196.6 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3367, allocations: 25.7 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.557e-05/0.3368, allocations: 107.9 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.3368, allocations: 3.906 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.3369, allocations: 29.69 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3371, allocations: 322.8 kB / 1.073 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.3376, allocations: 84.77 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000471/0.3381, allocations: 114.5 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007921/0.3389, allocations: 154.4 kB / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3389, allocations: 0 / 1.073 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009802/0.3399, allocations: 217.4 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3399, allocations: 8 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3399, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3399, allocations: 4.125 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.3403, allocations: 44 kB / 1.074 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3403, allocations: 7.938 kB / 1.074 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.3407, allocations: 47.78 kB / 1.074 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/0.3407, allocations: 7.984 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002308/0.341, allocations: 128.1 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001839/0.3412, allocations: 73.98 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002752/0.3414, allocations: 105.9 kB / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.3415, allocations: 0 / 1.074 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004452/0.3419, allocations: 141.4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3419, allocations: 8 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-06/0.3419, allocations: 0 / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/0.3419, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3421, allocations: 27.91 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.3421, allocations: 0 / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.3424, allocations: 32 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.3424, allocations: 4 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.3426, allocations: 196 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.3426, allocations: 7.906 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.3427, allocations: 20.17 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.3427, allocations: 4 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3427, allocations: 0 / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3427, allocations: 0 / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.3429, allocations: 209.6 kB / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3429, allocations: 0 / 1.075 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.3432, allocations: 31.95 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.3432, allocations: 0 / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3432, allocations: 11.92 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3432, allocations: 4 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3432, allocations: 0 / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007955/0.344, allocations: 251.2 kB / 1.075 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.3441, allocations: 101 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3442, allocations: 3.938 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.3445, allocations: 31.95 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3445, allocations: 0 / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.3445, allocations: 7.984 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001979/0.3447, allocations: 147.6 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3448, allocations: 0 / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003666/0.3451, allocations: 36 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.3453, allocations: 95.25 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.3464, allocations: 215.7 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3464, allocations: 0.5625 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.3467, allocations: 67.92 kB / 1.075 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3471, allocations: 5.094 kB / 1.075 GB, free: 2.363 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.348, allocations: 278.8 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3483, allocations: 0.6963 MB / 1.076 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002033/0.3485, allocations: 24 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.3486, allocations: 23.34 kB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3486, allocations: 0 / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.004043/0.3526, allocations: 1.631 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)