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.001183/0.001183, allocations: 105.1 kB / 16.41 MB, free: 6.5 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.001311/0.001311, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002213/0.002213, allocations: 291.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4784, allocations: 86.98 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.003053/0.4815, allocations: 1.613 MB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000805/0.4823, allocations: 345.6 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.4824, allocations: 0 / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.554e-05/0.4825, allocations: 7.875 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4826, allocations: 19.8 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.483, allocations: 79.78 kB / 0.7691 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.4832, allocations: 111.6 kB / 0.7692 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.4834, allocations: 39.62 kB / 0.7692 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.4835, allocations: 31.92 kB / 0.7692 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.4836, allocations: 51.75 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.4836, allocations: 8 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.4837, allocations: 35.98 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.4838, allocations: 19.92 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.4838, allocations: 39.8 kB / 0.7694 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.484, allocations: 115.6 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.484, allocations: 7.938 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.853e-06/0.484, allocations: 0 / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.4841, allocations: 0 / 0.7695 GB, free: 1.43 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.0006129/0.4847, allocations: 405.7 kB / 0.7699 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4847, allocations: 8.031 kB / 0.7699 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.4861, allocations: 160.6 kB / 0.77 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.4863, allocations: 180.2 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.4863, allocations: 8.375 kB / 0.7702 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4864, allocations: 4.375 kB / 0.7702 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000641/0.487, allocations: 174 kB / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.487, allocations: 192 / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4871, allocations: 11.94 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4871, allocations: 0 / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009087/0.488, allocations: 194 kB / 0.7706 GB, free: 224 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.4893, allocations: 480.3 kB / 0.771 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.4904, allocations: 186.4 kB / 0.7712 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/0.4907, allocations: 72.84 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4908, allocations: 0 / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4908, allocations: 30.56 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.4908, allocations: 3.938 kB / 0.7713 GB, free: 15.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001174/0.492, allocations: 229.2 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.492, allocations: 55.41 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.4923, allocations: 190 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4923, allocations: 29.64 kB / 0.7718 GB, free: 14.87 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.4924, allocations: 111.9 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.4924, allocations: 3.906 kB / 0.7719 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.4925, allocations: 29.69 kB / 0.7719 GB, free: 14.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.4926, allocations: 326.8 kB / 0.7723 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004574/0.4931, allocations: 88.77 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.4935, allocations: 98.48 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007888/0.4943, allocations: 158.4 kB / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4944, allocations: 0 / 0.7726 GB, free: 14.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00099/0.4954, allocations: 225.3 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4954, allocations: 4 kB / 0.7728 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4954, allocations: 4 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.4954, allocations: 3.938 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4958, allocations: 43.94 kB / 0.7729 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.4958, allocations: 7.984 kB / 0.7729 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003854/0.4962, allocations: 35.89 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.4962, allocations: 12 kB / 0.7729 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002239/0.4964, allocations: 124 kB / 0.773 GB, free: 13.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000193/0.4966, allocations: 77.98 kB / 0.7731 GB, free: 13.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002659/0.4969, allocations: 101.9 kB / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.4969, allocations: 0 / 0.7732 GB, free: 13.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000443/0.4974, allocations: 137.4 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.407e-06/0.4974, allocations: 4 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4974, allocations: 4 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.159e-06/0.4974, allocations: 3.984 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.4976, allocations: 27.92 kB / 0.7734 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4976, allocations: 4.5 kB / 0.7734 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.4978, allocations: 27.88 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.4978, allocations: 4 kB / 0.7734 GB, free: 13.13 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.0001167/0.498, allocations: 184.2 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.498, allocations: 7.906 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.4981, allocations: 24.17 kB / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4981, allocations: 0 / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4981, allocations: 0 / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4981, allocations: 0 / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.4983, allocations: 217.5 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4984, allocations: 0 / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.4986, allocations: 31.95 kB / 0.7738 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.4986, allocations: 3.938 kB / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.4986, allocations: 7.922 kB / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4986, allocations: 0 / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4986, allocations: 0 / 0.7739 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.4994, allocations: 255.3 kB / 0.7741 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.911e-05/0.4995, allocations: 96.98 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.4996, allocations: 7.875 kB / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.4999, allocations: 31.95 kB / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.4999, allocations: 0 / 0.7742 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.4999, allocations: 12.05 kB / 0.7742 GB, free: 12.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000191/0.5001, allocations: 143.2 kB / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5001, allocations: 0 / 0.7744 GB, free: 12.04 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003531/0.5005, allocations: 39.94 kB / 0.7744 GB, free: 12 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.0001259/0.5006, allocations: 99.25 kB / 0.7745 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.5017, allocations: 208.1 kB / 0.7747 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.5018, allocations: 4.125 kB / 0.7747 GB, free: 11.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.5021, allocations: 63.92 kB / 0.7748 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.5025, allocations: 17.11 kB / 0.7748 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.5034, allocations: 264.7 kB / 0.775 GB, free: 11.31 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.5037, allocations: 0.6924 MB / 0.7757 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.754e-05/0.5038, allocations: 23.41 kB / 0.7757 GB, free: 10.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.5038, allocations: 4 kB / 0.7757 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Templates: time 0.004003/0.5078, allocations: 1.717 MB / 0.7774 GB, free: 8.859 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)