Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.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.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 106.8 kB / 16.64 MB, free: 6.371 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.001111/0.001111, allocations: 191.6 kB / 17.56 MB, free: 5.812 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.365/1.365, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7661/0.7661, allocations: 122.8 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.4912 GB, free: 7.855 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3808, allocations: 77.91 MB / 0.5673 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003777/0.3847, allocations: 2.41 MB / 0.5697 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.3902, allocations: 3.784 MB / 0.5734 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.3906, allocations: 5.5 kB / 0.5734 GB, free: 28.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006491/0.3972, allocations: 3.276 MB / 0.5766 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3983, allocations: 365 kB / 0.5769 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.3995, allocations: 479.7 kB / 0.5774 GB, free: 27.42 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004673/0.4042, allocations: 3.5 MB / 0.5808 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.4044, allocations: 41.02 kB / 0.5808 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.4046, allocations: 212.8 kB / 0.581 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.4049, allocations: 238 kB / 0.5813 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.405, allocations: 17.28 kB / 0.5813 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009798/0.406, allocations: 0.5814 MB / 0.5819 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.4061, allocations: 202.8 kB / 0.5821 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.4063, allocations: 259.1 kB / 0.5823 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.4071, allocations: 0.7075 MB / 0.583 GB, free: 24.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4071, allocations: 6.938 kB / 0.583 GB, free: 24.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4071, allocations: 0 / 0.583 GB, free: 24.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.4071, allocations: 0 / 0.583 GB, free: 24.71 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001324/0.4085, allocations: 0.925 MB / 0.5839 GB, free: 23.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4085, allocations: 9.969 kB / 0.5839 GB, free: 23.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000808/0.4093, allocations: 148.7 kB / 0.584 GB, free: 23.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.4107, allocations: 1.153 MB / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.4108, allocations: 7.156 kB / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.4108, allocations: 11.31 kB / 0.5852 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/0.4113, allocations: 177.5 kB / 0.5854 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4113, allocations: 1.125 kB / 0.5854 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.4113, allocations: 3.531 kB / 0.5854 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.4113, allocations: 2.312 kB / 0.5854 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006128/0.4119, allocations: 180.1 kB / 0.5855 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.4131, allocations: 0.7307 MB / 0.5863 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008203/0.4139, allocations: 196.3 kB / 0.5864 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.4142, allocations: 80.95 kB / 0.5865 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.4142, allocations: 9.203 kB / 0.5865 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.4142, allocations: 31.72 kB / 0.5866 GB, free: 22.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.4143, allocations: 4 kB / 0.5866 GB, free: 22.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000913/0.4152, allocations: 310.6 kB / 0.5869 GB, free: 22.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.982e-05/0.4152, allocations: 56.45 kB / 0.5869 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007484/0.416, allocations: 0.7735 MB / 0.5877 GB, free: 21.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.416, allocations: 29.7 kB / 0.5877 GB, free: 21.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.4162, allocations: 260.7 kB / 0.5879 GB, free: 21.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.4162, allocations: 34.42 kB / 0.588 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4164, allocations: 158.9 kB / 0.5881 GB, free: 21.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.4165, allocations: 377 kB / 0.5885 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.417, allocations: 295.3 kB / 0.5888 GB, free: 20.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005717/0.4176, allocations: 418.8 kB / 0.5892 GB, free: 20.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008358/0.4184, allocations: 0.6181 MB / 0.5898 GB, free: 19.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4184, allocations: 8 kB / 0.5898 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001125/0.4196, allocations: 0.7853 MB / 0.5905 GB, free: 18.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4196, allocations: 8 kB / 0.5906 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.4196, allocations: 4 kB / 0.5906 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.4196, allocations: 4 kB / 0.5906 GB, free: 18.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/0.4204, allocations: 131.9 kB / 0.5907 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000416/0.4208, allocations: 0.6288 MB / 0.5913 GB, free: 18.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4212, allocations: 75.5 kB / 0.5914 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.4213, allocations: 27.92 kB / 0.5914 GB, free: 18.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005571/0.4218, allocations: 481.4 kB / 0.5919 GB, free: 17.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004473/0.4223, allocations: 400.4 kB / 0.5922 GB, free: 17.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007623/0.4231, allocations: 0.6103 MB / 0.5928 GB, free: 16.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.4231, allocations: 0 / 0.5928 GB, free: 16.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001062/0.4242, allocations: 0.7838 MB / 0.5936 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.4242, allocations: 4 kB / 0.5936 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4242, allocations: 4 kB / 0.5936 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.911e-06/0.4242, allocations: 4 kB / 0.5936 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000491/0.4247, allocations: 135.8 kB / 0.5937 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4247, allocations: 8 kB / 0.5938 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.4251, allocations: 59.72 kB / 0.5938 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.4252, allocations: 27.98 kB / 0.5938 GB, free: 15.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (55): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.4253, allocations: 204.6 kB / 0.594 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.4254, allocations: 55.25 kB / 0.5941 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000663/0.4261, allocations: 246.9 kB / 0.5943 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4261, allocations: 4 kB / 0.5943 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4261, allocations: 3.938 kB / 0.5943 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4261, allocations: 0 / 0.5943 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.4265, allocations: 381.3 kB / 0.5947 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4265, allocations: 4 kB / 0.5947 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/0.4268, allocations: 55.95 kB / 0.5947 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.4268, allocations: 0 / 0.5947 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4268, allocations: 3.938 kB / 0.5948 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001995/0.427, allocations: 0.6094 MB / 0.5953 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.427, allocations: 0 / 0.5953 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005729/0.4276, allocations: 342.7 kB / 0.5957 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.4277, allocations: 164.2 kB / 0.5958 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.481e-05/0.4278, allocations: 0 / 0.5958 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.4281, allocations: 27.97 kB / 0.5959 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.4282, allocations: 4 kB / 0.5959 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.4282, allocations: 4 kB / 0.5959 GB, free: 13.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005252/0.4287, allocations: 0.5224 MB / 0.5964 GB, free: 12.77 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4287, allocations: 0 / 0.5964 GB, free: 12.77 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001048/0.4298, allocations: 303.8 kB / 0.5967 GB, free: 12.48 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007712/0.4306, allocations: 334.9 kB / 0.597 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.4325, allocations: 0.8929 MB / 0.5979 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4325, allocations: 0 / 0.5979 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4328, allocations: 108.3 kB / 0.598 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008294/0.4337, allocations: 208.2 kB / 0.5982 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.4363, allocations: 1.261 MB / 0.5994 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.4366, allocations: 0.9013 MB / 0.6003 GB, free: 8.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.4368, allocations: 55.42 kB / 0.6003 GB, free: 8.668 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4368, allocations: 0 / 0.6003 GB, free: 8.668 MB / 446.1 MB Notification: Performance of Templates: time 0.01483/0.4516, allocations: 11.49 MB / 0.6115 GB, free: 13.25 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)