Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001123/0.001123, allocations: 108 kB / 15.6 MB, free: 132 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.001224/0.001224, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.36/1.36, 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.8/2.8, allocations: 472.6 MB / 0.7451 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 57.58 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3173, allocations: 159.9 MB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003476/0.3209, allocations: 1.629 MB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008404/0.3217, allocations: 331 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.3218, allocations: 4 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.3219, allocations: 7.875 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.322, allocations: 23.78 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004123/0.3225, allocations: 87.72 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.3226, allocations: 107.5 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3228, allocations: 27.98 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3229, allocations: 51.84 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.91e-05/0.323, allocations: 39.78 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.323, allocations: 8 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3231, allocations: 35.97 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.3232, allocations: 23.91 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3232, allocations: 39.8 kB / 1.071 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.3234, allocations: 115.9 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3234, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3234, allocations: 0 / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.3234, allocations: 0 / 1.071 GB, free: 7.98 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.0005946/0.324, allocations: 403.1 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3241, allocations: 8.031 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3255, allocations: 164.6 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3257, allocations: 191.6 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3257, allocations: 8.375 kB / 1.071 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3258, allocations: 8.375 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.3265, allocations: 171.6 kB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3265, allocations: 192 / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.3265, allocations: 3.938 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3265, allocations: 0 / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.3275, allocations: 183.8 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3288, allocations: 476.2 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.3299, allocations: 194.3 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.3303, allocations: 60.86 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3303, allocations: 7.938 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3303, allocations: 42.5 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3304, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001243/0.3316, allocations: 225.4 kB / 1.073 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3317, allocations: 59.39 kB / 1.073 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002621/0.3319, allocations: 191.5 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3319, allocations: 25.7 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.332, allocations: 107.9 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.3321, allocations: 11.91 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.3321, allocations: 29.69 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.3322, allocations: 318.8 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004813/0.3327, allocations: 88.72 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.3332, allocations: 98.48 kB / 1.074 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008101/0.334, allocations: 154.4 kB / 1.074 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3341, allocations: 4 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00104/0.3351, allocations: 213.3 kB / 1.074 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3351, allocations: 12.06 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.3351, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.3352, allocations: 3.938 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.3355, allocations: 51.88 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3355, allocations: 0 / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/0.3359, allocations: 43.8 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.336, allocations: 7.984 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002284/0.3362, allocations: 124.1 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001913/0.3364, allocations: 73.98 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002818/0.3367, allocations: 105.8 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.3367, allocations: 7.984 kB / 1.074 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004675/0.3372, allocations: 133.9 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3372, allocations: 8 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.3372, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.579e-06/0.3372, allocations: 4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.3374, allocations: 31.84 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.3374, allocations: 3.984 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.3377, allocations: 31.94 kB / 1.075 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3377, allocations: 0 / 1.075 GB, free: 3.68 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.0001002/0.3378, allocations: 190 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.3378, allocations: 7.906 kB / 1.075 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.3379, allocations: 24.11 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3379, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3379, allocations: 0 / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3379, allocations: 7.938 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.3382, allocations: 205.6 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3382, allocations: 4.062 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.3384, allocations: 27.95 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3384, allocations: 0 / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.3384, allocations: 12.12 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3385, allocations: 0 / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.3385, allocations: 7.984 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.3393, allocations: 255.2 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.3394, allocations: 96.98 kB / 1.075 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3394, allocations: 3.938 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000303/0.3397, allocations: 27.97 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.3398, allocations: 3.984 kB / 1.075 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3398, allocations: 4 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001986/0.34, allocations: 148.1 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.34, allocations: 0 / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003662/0.3404, allocations: 36 kB / 1.076 GB, free: 2.543 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.0001215/0.3405, allocations: 99.23 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.3417, allocations: 207.7 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3417, allocations: 0 / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.3421, allocations: 68.48 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3424, allocations: 9.562 kB / 1.076 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009523/0.3434, allocations: 254.8 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3436, allocations: 0.7001 MB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000188/0.3438, allocations: 24 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.3439, allocations: 23.41 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of SimCode: time 5.01e-07/0.3439, allocations: 0 / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.004228/0.3481, allocations: 1.683 MB / 1.079 GB, free: 15.43 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)