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.001703/0.001703, allocations: 106.1 kB / 16.41 MB, free: 6.492 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.001749/0.001749, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002558/0.002558, allocations: 302.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 103.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4281/0.431, allocations: 86.97 MB / 0.767 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002763/0.4338, allocations: 1.62 MB / 0.7686 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007152/0.4345, allocations: 337.6 kB / 0.769 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.4345, allocations: 4 kB / 0.769 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.4346, allocations: 11.86 kB / 0.769 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.4346, allocations: 11.86 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.435, allocations: 79.8 kB / 0.7691 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.4351, allocations: 107.6 kB / 0.7692 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4352, allocations: 27.97 kB / 0.7692 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.4353, allocations: 43.91 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.4354, allocations: 47.77 kB / 0.7693 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4354, allocations: 8 kB / 0.7693 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.4355, allocations: 35.97 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.4355, allocations: 19.92 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.993e-05/0.4356, allocations: 47.72 kB / 0.7694 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4358, allocations: 113.2 kB / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4358, allocations: 0 / 0.7695 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.346e-06/0.4358, allocations: 3.984 kB / 0.7695 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.4358, allocations: 0 / 0.7695 GB, free: 1.461 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.0006069/0.4364, allocations: 411 kB / 0.7699 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.4364, allocations: 8.031 kB / 0.7699 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/0.4379, allocations: 168.6 kB / 0.7701 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.438, allocations: 184.2 kB / 0.7702 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4381, allocations: 8.375 kB / 0.7702 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4381, allocations: 8.375 kB / 0.7702 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.4388, allocations: 174.1 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4388, allocations: 192 / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.4388, allocations: 3.938 kB / 0.7704 GB, free: 432 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4388, allocations: 7.938 kB / 0.7704 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/0.4398, allocations: 179.8 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.4411, allocations: 484.2 kB / 0.7711 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4423, allocations: 186.4 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4427, allocations: 64.84 kB / 0.7713 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.4427, allocations: 7.938 kB / 0.7713 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.4427, allocations: 30.56 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4427, allocations: 0 / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.001256/0.444, allocations: 225.4 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.444, allocations: 51.41 kB / 0.7716 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.4443, allocations: 196.6 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.4443, allocations: 25.7 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.4444, allocations: 111.9 kB / 0.7719 GB, free: 14.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.4444, allocations: 11.94 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.4445, allocations: 29.69 kB / 0.772 GB, free: 14.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4446, allocations: 318.8 kB / 0.7723 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004786/0.4451, allocations: 84.77 kB / 0.7723 GB, free: 14.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.4456, allocations: 106.4 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.4464, allocations: 158.4 kB / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4464, allocations: 0 / 0.7726 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001026/0.4475, allocations: 217.6 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4475, allocations: 8.062 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.4475, allocations: 4 kB / 0.7728 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4475, allocations: 7.922 kB / 0.7728 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.4479, allocations: 47.88 kB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4479, allocations: 4 kB / 0.7729 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.4483, allocations: 43.84 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4483, allocations: 7.984 kB / 0.7729 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002373/0.4485, allocations: 120.1 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000209/0.4487, allocations: 77.97 kB / 0.7731 GB, free: 13.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002975/0.449, allocations: 105.8 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.449, allocations: 0 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004679/0.4495, allocations: 141.9 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/0.4495, allocations: 8 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-06/0.4495, allocations: 0 / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.4495, allocations: 4 kB / 0.7734 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4497, allocations: 27.91 kB / 0.7734 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4497, allocations: 7.922 kB / 0.7734 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.4499, allocations: 32.02 kB / 0.7734 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.4499, allocations: 4 kB / 0.7734 GB, free: 13.14 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.0001305/0.4501, allocations: 187.5 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.4501, allocations: 7.953 kB / 0.7736 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.009e-05/0.4502, allocations: 20.12 kB / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4502, allocations: 0 / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4502, allocations: 0 / 0.7736 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.4502, allocations: 7.984 kB / 0.7736 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.4504, allocations: 205.5 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4504, allocations: 0 / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.4507, allocations: 31.94 kB / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.4507, allocations: 0 / 0.7739 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.4507, allocations: 3.938 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4507, allocations: 4 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4507, allocations: 4 kB / 0.7739 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.4515, allocations: 259.3 kB / 0.7741 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/0.4516, allocations: 101 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4516, allocations: 3.938 kB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003017/0.4519, allocations: 27.97 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.452, allocations: 3.984 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.452, allocations: 4 kB / 0.7743 GB, free: 12.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002045/0.4522, allocations: 143.2 kB / 0.7744 GB, free: 12.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4522, allocations: 0 / 0.7744 GB, free: 12.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003544/0.4525, allocations: 40 kB / 0.7744 GB, free: 12.01 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.0001278/0.4527, allocations: 99.23 kB / 0.7745 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001107/0.4538, allocations: 203.7 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4538, allocations: 0 / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.4542, allocations: 68.47 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.4545, allocations: 9.125 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.4554, allocations: 250.8 kB / 0.775 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.4557, allocations: 0.6885 MB / 0.7757 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.4559, allocations: 32.11 kB / 0.7757 GB, free: 10.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.644e-05/0.456, allocations: 23.41 kB / 0.7758 GB, free: 10.59 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.456, allocations: 0 / 0.7758 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Templates: time 0.004594/0.4606, allocations: 1.696 MB / 0.7774 GB, free: 8.91 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)