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.001195/0.001194, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001355/0.001355, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.66 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 472.6 MB / 0.7447 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 64.34 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3081, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002851/0.311, allocations: 1.683 MB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.3117, allocations: 351 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.3118, allocations: 0 / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.384e-05/0.3118, allocations: 7.922 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.89e-05/0.3119, allocations: 15.88 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.3122, allocations: 63.92 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.3123, allocations: 111.5 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3125, allocations: 27.98 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.117e-05/0.3125, allocations: 31.92 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.3126, allocations: 51.7 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3127, allocations: 8 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.3128, allocations: 27.97 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.492e-05/0.3128, allocations: 19.92 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.663e-05/0.3128, allocations: 35.8 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.313, allocations: 111.8 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.313, allocations: 4 kB / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.313, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.313, allocations: 0 / 1.07 GB, free: 8.359 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.000574/0.3136, allocations: 403.2 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3137, allocations: 12.03 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.3152, allocations: 160.6 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.3154, allocations: 183.7 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.3154, allocations: 8.375 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.3154, allocations: 4.375 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/0.3161, allocations: 175.4 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.3161, allocations: 192 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.3162, allocations: 7.938 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3162, allocations: 4 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009987/0.3172, allocations: 179.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3185, allocations: 488.1 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.3197, allocations: 186.4 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.3201, allocations: 68.84 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.3202, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3202, allocations: 34.56 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3202, allocations: 0 / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001285/0.3215, allocations: 229.3 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3215, allocations: 55.39 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.3218, allocations: 192.6 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3219, allocations: 29.7 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.3219, allocations: 107.9 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.322, allocations: 3.906 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.322, allocations: 29.69 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3222, allocations: 322.8 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004777/0.3227, allocations: 80.78 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.3232, allocations: 106.5 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008007/0.324, allocations: 154.4 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.324, allocations: 8 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001026/0.325, allocations: 221.4 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.325, allocations: 4 kB / 1.073 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3251, allocations: 4 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3251, allocations: 3.938 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.3254, allocations: 39.94 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.3255, allocations: 3.938 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004022/0.3259, allocations: 47.8 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3259, allocations: 7.984 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002457/0.3262, allocations: 128.1 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001909/0.3264, allocations: 77.92 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000266/0.3266, allocations: 101.9 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.3266, allocations: 0 / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004391/0.3271, allocations: 149.4 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.734e-06/0.3271, allocations: 4 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.3271, allocations: 4 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.3271, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001562/0.3273, allocations: 27.91 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3273, allocations: 4 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3276, allocations: 32 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3276, allocations: 7.938 kB / 1.074 GB, free: 4.051 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.0001196/0.3277, allocations: 180.2 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3278, allocations: 11.91 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.744e-05/0.3278, allocations: 16.17 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3278, allocations: 8 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3278, allocations: 0 / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3278, allocations: 0 / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.3281, allocations: 205.6 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3281, allocations: 4 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.3283, allocations: 31.95 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3284, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3284, allocations: 3.938 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3284, allocations: 4 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3284, allocations: 320 / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.3292, allocations: 259.2 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.3293, allocations: 101 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.3293, allocations: 4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.3297, allocations: 31.97 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.3297, allocations: 3.984 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3297, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002121/0.33, allocations: 155.6 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.33, allocations: 0 / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003822/0.3304, allocations: 32 kB / 1.075 GB, free: 2.926 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.0001894/0.3305, allocations: 99.25 kB / 1.075 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.3317, allocations: 207.7 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3317, allocations: 0.5625 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.3321, allocations: 67.92 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.3325, allocations: 9.312 kB / 1.075 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009589/0.3334, allocations: 277 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.3337, allocations: 0.6965 MB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000185/0.3339, allocations: 27.94 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.334, allocations: 23.41 kB / 1.076 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.334, allocations: 3.938 kB / 1.076 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of Templates: time 0.003876/0.3379, allocations: 1.564 MB / 1.078 GB, free: 15.91 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)