Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 102.3 kB / 15.98 MB, free: 6.301 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.001123/0.001123, allocations: 197.2 kB / 16.91 MB, free: 6.152 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.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7352/0.7352, allocations: 122.9 MB / 413.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.56 kB / 0.4906 GB, free: 14.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1553, allocations: 77.94 MB / 0.5667 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003502/0.1588, allocations: 2.344 MB / 0.569 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005792/0.1646, allocations: 3.762 MB / 0.5727 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003037/0.165, allocations: 4 kB / 0.5727 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005822/0.1708, allocations: 3.073 MB / 0.5757 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008969/0.1718, allocations: 362.8 kB / 0.5761 GB, free: 6.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1728, allocations: 475.2 kB / 0.5765 GB, free: 6.52 MB / 446.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.00442/0.1772, allocations: 3.288 MB / 0.5797 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1774, allocations: 56.53 kB / 0.5798 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.1777, allocations: 207.3 kB / 0.58 GB, free: 2.969 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.178, allocations: 239.1 kB / 0.5802 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.178, allocations: 23.94 kB / 0.5802 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1792, allocations: 0.7447 MB / 0.5809 GB, free: 1.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.1794, allocations: 211.4 kB / 0.5811 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.1796, allocations: 242.6 kB / 0.5814 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.1808, allocations: 1.02 MB / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1808, allocations: 0 / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1808, allocations: 0 / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1808, allocations: 0 / 0.5824 GB, free: 0.4961 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.2696/0.4504, allocations: 0.8827 MB / 0.5832 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4505, allocations: 9.969 kB / 0.5832 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.4519, allocations: 209.8 kB / 0.5834 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.4538, allocations: 0.9566 MB / 0.5844 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.4539, allocations: 11.33 kB / 0.5844 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.4539, allocations: 26.06 kB / 0.5844 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006029/0.4545, allocations: 249.1 kB / 0.5847 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4546, allocations: 0.875 kB / 0.5847 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4546, allocations: 5.25 kB / 0.5847 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.4546, allocations: 1.812 kB / 0.5847 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007109/0.4553, allocations: 245.8 kB / 0.5849 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.4568, allocations: 0.8161 MB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000967/0.4578, allocations: 301.6 kB / 0.586 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.4582, allocations: 124.8 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.4582, allocations: 7.766 kB / 0.5861 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.4582, allocations: 36.14 kB / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.4582, allocations: 0 / 0.5861 GB, free: 23.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001304/0.4595, allocations: 445.3 kB / 0.5866 GB, free: 23.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.4596, allocations: 52.28 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/0.4606, allocations: 0.7416 MB / 0.5873 GB, free: 23.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4606, allocations: 33.39 kB / 0.5874 GB, free: 23.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.4608, allocations: 228.8 kB / 0.5876 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/0.4608, allocations: 41.41 kB / 0.5876 GB, free: 22.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.4611, allocations: 159.3 kB / 0.5878 GB, free: 22.83 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4612, allocations: 370 kB / 0.5881 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/0.462, allocations: 455.5 kB / 0.5886 GB, free: 22.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.4628, allocations: 0.5205 MB / 0.5891 GB, free: 22.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.4642, allocations: 0.8727 MB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4643, allocations: 0.9375 kB / 0.5899 GB, free: 21.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00226/0.4665, allocations: 1.074 MB / 0.591 GB, free: 21.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4666, allocations: 4.969 kB / 0.591 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4666, allocations: 2.125 kB / 0.591 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/0.4666, allocations: 4.25 kB / 0.591 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.4672, allocations: 114.7 kB / 0.5911 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4672, allocations: 3.328 kB / 0.5911 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005498/0.4678, allocations: 84.75 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.4679, allocations: 32.88 kB / 0.5912 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009712/0.4688, allocations: 0.5439 MB / 0.5917 GB, free: 21.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007514/0.4696, allocations: 468.8 kB / 0.5922 GB, free: 20.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001237/0.4709, allocations: 0.7232 MB / 0.5929 GB, free: 20.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.035e-06/0.4709, allocations: 1.25 kB / 0.5929 GB, free: 20.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001725/0.4726, allocations: 0.9205 MB / 0.5938 GB, free: 20.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4726, allocations: 5.5 kB / 0.5938 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4726, allocations: 1.406 kB / 0.5938 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.4727, allocations: 4.984 kB / 0.5938 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.4732, allocations: 109.1 kB / 0.5939 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4732, allocations: 4.375 kB / 0.5939 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.4737, allocations: 62.22 kB / 0.594 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/0.4738, allocations: 31.38 kB / 0.594 GB, free: 20.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001953/0.474, allocations: 193.8 kB / 0.5942 GB, free: 19.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.313e-05/0.4741, allocations: 53.55 kB / 0.5942 GB, free: 19.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.4752, allocations: 359 kB / 0.5946 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4752, allocations: 1.375 kB / 0.5946 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.4752, allocations: 0.7969 kB / 0.5946 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.4752, allocations: 5.016 kB / 0.5946 GB, free: 19.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000556/0.4758, allocations: 401.7 kB / 0.595 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4758, allocations: 0.6562 kB / 0.595 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.4761, allocations: 48.02 kB / 0.595 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4761, allocations: 4.469 kB / 0.595 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.4761, allocations: 4.609 kB / 0.595 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.4761, allocations: 2.5 kB / 0.595 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4761, allocations: 0.9375 kB / 0.595 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.477, allocations: 432.6 kB / 0.5954 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4772, allocations: 153.2 kB / 0.5956 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.864e-05/0.4772, allocations: 0.8125 kB / 0.5956 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.4775, allocations: 23.55 kB / 0.5956 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4776, allocations: 17.45 kB / 0.5956 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.4776, allocations: 13.84 kB / 0.5956 GB, free: 19.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006675/0.4783, allocations: 0.4907 MB / 0.5961 GB, free: 18.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4783, allocations: 0 / 0.5961 GB, free: 18.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001262/0.4796, allocations: 318.2 kB / 0.5964 GB, free: 18.93 MB / 446.1 MB 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 (11): * Single equations (assignments): 11 * 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.0008697/0.4805, allocations: 372.2 kB / 0.5968 GB, free: 18.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.4827, allocations: 1.143 MB / 0.5979 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4827, allocations: 0 / 0.5979 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.4831, allocations: 140.1 kB / 0.598 GB, free: 18.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009416/0.4841, allocations: 206.6 kB / 0.5982 GB, free: 18.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.4857, allocations: 1.056 MB / 0.5993 GB, free: 17.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.4861, allocations: 0.8969 MB / 0.6001 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000787/0.4869, allocations: 190.2 kB / 0.6003 GB, free: 16.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.4871, allocations: 59.61 kB / 0.6004 GB, free: 16.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4871, allocations: 0 / 0.6004 GB, free: 16.95 MB / 446.1 MB Notification: Performance of Templates: time 0.02733/0.5145, allocations: 12.21 MB / 0.6123 GB, free: 12.62 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)