Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.007431/0.007431, allocations: 108.5 kB / 15.71 MB, free: 5.977 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.001966/0.001966, allocations: 185.7 kB / 16.64 MB, free: 5.914 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.304/1.304, allocations: 222.9 MB / 240.3 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 286.3 kB / 290.8 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.3 MB / 0.4983 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 95.86 kB / 0.6814 GB, free: 7.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.487, allocations: 86.97 MB / 0.7663 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002603/0.4896, allocations: 1.612 MB / 0.7679 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.4903, allocations: 341.6 kB / 0.7682 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.4904, allocations: 0 / 0.7682 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.4904, allocations: 3.938 kB / 0.7682 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.4905, allocations: 19.8 kB / 0.7683 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4909, allocations: 83.77 kB / 0.7683 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.491, allocations: 111.6 kB / 0.7684 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.4911, allocations: 39.77 kB / 0.7685 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.882e-05/0.4912, allocations: 35.86 kB / 0.7685 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.4913, allocations: 43.83 kB / 0.7686 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.4914, allocations: 8 kB / 0.7686 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.148e-05/0.4915, allocations: 39.97 kB / 0.7686 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.744e-05/0.4915, allocations: 19.92 kB / 0.7686 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.797e-05/0.4915, allocations: 47.73 kB / 0.7687 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.4917, allocations: 115.6 kB / 0.7688 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.4918, allocations: 0 / 0.7688 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4918, allocations: 0 / 0.7688 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4918, allocations: 3.938 kB / 0.7688 GB, free: 1.598 MB / 0.5294 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.0005708/0.4923, allocations: 405.7 kB / 0.7692 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4924, allocations: 8.031 kB / 0.7692 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001364/0.4938, allocations: 160.6 kB / 0.7693 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.4939, allocations: 176.2 kB / 0.7695 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4939, allocations: 8.375 kB / 0.7695 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.494, allocations: 4.375 kB / 0.7695 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.4946, allocations: 174 kB / 0.7697 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4946, allocations: 192 / 0.7697 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.4946, allocations: 11.94 kB / 0.7697 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4947, allocations: 4 kB / 0.7697 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009475/0.4956, allocations: 190 kB / 0.7699 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.4968, allocations: 492.2 kB / 0.7703 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4979, allocations: 186.4 kB / 0.7705 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.4983, allocations: 64.86 kB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4983, allocations: 3.984 kB / 0.7706 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.4984, allocations: 30.56 kB / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/0.4984, allocations: 0 / 0.7706 GB, free: 15.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001185/0.4995, allocations: 229.2 kB / 0.7708 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.4996, allocations: 51.41 kB / 0.7709 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.4999, allocations: 190 kB / 0.7711 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4999, allocations: 25.7 kB / 0.7711 GB, free: 15.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.267e-05/0.4999, allocations: 111.9 kB / 0.7712 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.5, allocations: 3.906 kB / 0.7712 GB, free: 14.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.396e-05/0.5, allocations: 33.69 kB / 0.7712 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5002, allocations: 322.8 kB / 0.7715 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.5006, allocations: 88.77 kB / 0.7716 GB, free: 14.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004627/0.5011, allocations: 98.48 kB / 0.7717 GB, free: 14.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/0.5019, allocations: 158.4 kB / 0.7719 GB, free: 14.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5019, allocations: 4 kB / 0.7719 GB, free: 14.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000976/0.5029, allocations: 221.3 kB / 0.7721 GB, free: 13.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5029, allocations: 4 kB / 0.7721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.5029, allocations: 4 kB / 0.7721 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5029, allocations: 3.938 kB / 0.7721 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.5033, allocations: 43.94 kB / 0.7721 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5033, allocations: 3.938 kB / 0.7721 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.5037, allocations: 47.88 kB / 0.7722 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.5037, allocations: 8 kB / 0.7722 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.5039, allocations: 120.1 kB / 0.7723 GB, free: 13.74 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002022/0.5041, allocations: 77.98 kB / 0.7724 GB, free: 13.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002728/0.5044, allocations: 101.9 kB / 0.7725 GB, free: 13.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.82e-07/0.5044, allocations: 0 / 0.7725 GB, free: 13.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004286/0.5049, allocations: 141.3 kB / 0.7726 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.653e-06/0.5049, allocations: 4 kB / 0.7726 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.5049, allocations: 4 kB / 0.7726 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-06/0.5049, allocations: 3.938 kB / 0.7726 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.505, allocations: 36.12 kB / 0.7727 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.5051, allocations: 4 kB / 0.7727 GB, free: 13.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.5053, allocations: 24.06 kB / 0.7727 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.5053, allocations: 4 kB / 0.7727 GB, free: 13.3 MB / 0.545 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.0001003/0.5054, allocations: 184.2 kB / 0.7729 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.5055, allocations: 15.89 kB / 0.7729 GB, free: 13.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.5055, allocations: 20.17 kB / 0.7729 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.5055, allocations: 0 / 0.7729 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5055, allocations: 0 / 0.7729 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.5055, allocations: 0 / 0.7729 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.5058, allocations: 213.6 kB / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.5058, allocations: 0 / 0.7731 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.506, allocations: 31.95 kB / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.506, allocations: 64 / 0.7731 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.506, allocations: 11.92 kB / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.506, allocations: 0 / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.506, allocations: 0 / 0.7731 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.5068, allocations: 259.2 kB / 0.7734 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-05/0.5069, allocations: 96.98 kB / 0.7735 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.507, allocations: 7.938 kB / 0.7735 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.5073, allocations: 31.95 kB / 0.7735 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.5073, allocations: 0 / 0.7735 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5073, allocations: 3.984 kB / 0.7735 GB, free: 12.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000183/0.5075, allocations: 143.2 kB / 0.7737 GB, free: 12.21 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5075, allocations: 0 / 0.7737 GB, free: 12.21 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000355/0.5079, allocations: 39.94 kB / 0.7737 GB, free: 12.17 MB / 0.545 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.0001209/0.508, allocations: 106.6 kB / 0.7738 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.5091, allocations: 208 kB / 0.774 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5091, allocations: 0 / 0.774 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003669/0.5095, allocations: 68.17 kB / 0.7741 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.5098, allocations: 8 kB / 0.7741 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008826/0.5107, allocations: 235 kB / 0.7743 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.5109, allocations: 0.6963 MB / 0.775 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001345/0.5111, allocations: 27.92 kB / 0.775 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.5112, allocations: 23.42 kB / 0.775 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5112, allocations: 7.938 kB / 0.775 GB, free: 10.74 MB / 0.545 GB Notification: Performance of Templates: time 0.003981/0.5152, allocations: 1.682 MB / 0.7767 GB, free: 9.07 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)