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.0009066/0.0009066, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.0009531/0.0009532, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7238/0.7238, allocations: 115.5 MB / 408.2 MB, free: 7.031 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 8.234 kB / 496.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.423, allocations: 77.52 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002513/0.4255, allocations: 1.991 MB / 0.5625 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.4313, allocations: 3.819 MB / 0.5663 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.4318, allocations: 5.938 kB / 0.5663 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006813/0.4386, allocations: 2.965 MB / 0.5692 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.4398, allocations: 359.1 kB / 0.5695 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.4412, allocations: 456.6 kB / 0.5699 GB, free: 31.17 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.005409/0.4466, allocations: 3.382 MB / 0.5732 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.4468, allocations: 40.38 kB / 0.5733 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003228/0.4471, allocations: 183.3 kB / 0.5735 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.4475, allocations: 225.1 kB / 0.5737 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.624e-05/0.4475, allocations: 12.69 kB / 0.5737 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.4492, allocations: 0.7668 MB / 0.5744 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.4495, allocations: 203.2 kB / 0.5746 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.4497, allocations: 257 kB / 0.5749 GB, free: 29.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4509, allocations: 0.7084 MB / 0.5756 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4509, allocations: 1.094 kB / 0.5756 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4509, allocations: 0 / 0.5756 GB, free: 29.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.4509, allocations: 0.5625 kB / 0.5756 GB, free: 29.5 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.001301/0.4522, allocations: 0.8061 MB / 0.5764 GB, free: 28.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4523, allocations: 10.06 kB / 0.5764 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4536, allocations: 213.8 kB / 0.5766 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/0.4556, allocations: 0.9626 MB / 0.5775 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/0.4556, allocations: 12.52 kB / 0.5775 GB, free: 28.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.4557, allocations: 16.78 kB / 0.5775 GB, free: 28.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006245/0.4563, allocations: 260.2 kB / 0.5778 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4563, allocations: 3.984 kB / 0.5778 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.4564, allocations: 6.719 kB / 0.5778 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4564, allocations: 2.188 kB / 0.5778 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.4571, allocations: 252.9 kB / 0.578 GB, free: 28.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.4586, allocations: 0.8223 MB / 0.5788 GB, free: 27.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.4593, allocations: 306.8 kB / 0.5791 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.4597, allocations: 137.8 kB / 0.5793 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.4597, allocations: 1.547 kB / 0.5793 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.4598, allocations: 31.59 kB / 0.5793 GB, free: 27.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.4598, allocations: 5.188 kB / 0.5793 GB, free: 27.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001305/0.4611, allocations: 465 kB / 0.5797 GB, free: 27.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.4611, allocations: 53.73 kB / 0.5798 GB, free: 27.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008979/0.462, allocations: 0.7334 MB / 0.5805 GB, free: 27.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.4621, allocations: 31.42 kB / 0.5805 GB, free: 26.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.4622, allocations: 228.2 kB / 0.5808 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.4623, allocations: 45.56 kB / 0.5808 GB, free: 26.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.4624, allocations: 89.69 kB / 0.5809 GB, free: 26.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.4625, allocations: 373.5 kB / 0.5812 GB, free: 26.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006646/0.4632, allocations: 446 kB / 0.5817 GB, free: 26.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.4639, allocations: 0.5358 MB / 0.5822 GB, free: 25.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.4652, allocations: 0.8797 MB / 0.583 GB, free: 25.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4652, allocations: 4 kB / 0.5831 GB, free: 25.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001685/0.4669, allocations: 1.078 MB / 0.5841 GB, free: 24.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.653e-05/0.467, allocations: 147.7 kB / 0.5842 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.467, allocations: 6.844 kB / 0.5843 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.467, allocations: 2.75 kB / 0.5843 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.4675, allocations: 115.1 kB / 0.5844 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4676, allocations: 3.75 kB / 0.5844 GB, free: 24.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.468, allocations: 75.69 kB / 0.5844 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.4681, allocations: 38.78 kB / 0.5845 GB, free: 24.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.4681, allocations: 4.812 kB / 0.5845 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001412/0.4695, allocations: 0.8622 MB / 0.5853 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4696, allocations: 1.656 kB / 0.5853 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/0.4696, allocations: 4.875 kB / 0.5853 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004257/0.47, allocations: 110.2 kB / 0.5854 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.47, allocations: 3.625 kB / 0.5854 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.4704, allocations: 61.22 kB / 0.5855 GB, free: 24.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.4704, allocations: 28.48 kB / 0.5855 GB, free: 24.23 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.0003168/0.4708, allocations: 313.3 kB / 0.5858 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.4709, allocations: 56.19 kB / 0.5859 GB, free: 23.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000977/0.4718, allocations: 366 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4719, allocations: 1.156 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4719, allocations: 3.938 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4719, allocations: 1.188 kB / 0.5862 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.4723, allocations: 403.9 kB / 0.5866 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4723, allocations: 0 / 0.5866 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.4726, allocations: 51.64 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4726, allocations: 5.219 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4726, allocations: 10.34 kB / 0.5867 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4726, allocations: 1.344 kB / 0.5867 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4726, allocations: 0 / 0.5867 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008267/0.4735, allocations: 435.8 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.4736, allocations: 149.7 kB / 0.5872 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4737, allocations: 7.938 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.474, allocations: 24.34 kB / 0.5873 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.474, allocations: 8.328 kB / 0.5873 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.4741, allocations: 16.62 kB / 0.5873 GB, free: 22.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005782/0.4747, allocations: 0.4903 MB / 0.5878 GB, free: 22.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4747, allocations: 1.156 kB / 0.5878 GB, free: 22.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001306/0.476, allocations: 314.2 kB / 0.5881 GB, free: 22.6 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.0008268/0.4768, allocations: 369.9 kB / 0.5884 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.4786, allocations: 1.161 MB / 0.5896 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4786, allocations: 0 / 0.5896 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.4789, allocations: 136.4 kB / 0.5897 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008373/0.4798, allocations: 191.4 kB / 0.5899 GB, free: 20.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.4811, allocations: 1.096 MB / 0.5909 GB, free: 19.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.4814, allocations: 0.8897 MB / 0.5918 GB, free: 18.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.4816, allocations: 51.42 kB / 0.5919 GB, free: 18.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4816, allocations: 0 / 0.5919 GB, free: 18.89 MB / 446.1 MB Notification: Performance of Templates: time 0.01252/0.4941, allocations: 9.842 MB / 0.6015 GB, free: 9.117 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)