Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001283/0.001283, allocations: 110.4 kB / 15.99 MB, free: 6.344 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.001263/0.001263, allocations: 195.4 kB / 16.91 MB, free: 6.176 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.233/1.233, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002031, allocations: 281.9 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8744/0.8744, allocations: 169.2 MB / 0.4985 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 91.12 kB / 0.5953 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1652, allocations: 86.98 MB / 0.6803 GB, free: 8.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003499/0.1687, allocations: 2.351 MB / 0.6826 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.1745, allocations: 3.766 MB / 0.6862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.1747, allocations: 4 kB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2973/0.4721, allocations: 3.06 MB / 0.6892 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.4733, allocations: 367.1 kB / 0.6896 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.4748, allocations: 477.3 kB / 0.69 GB, free: 13.39 MB / 494.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, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.005834/0.4807, allocations: 3.282 MB / 0.6933 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.4809, allocations: 44.89 kB / 0.6933 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004942/0.4814, allocations: 213 kB / 0.6935 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000395/0.4818, allocations: 233.2 kB / 0.6937 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.4818, allocations: 17.91 kB / 0.6937 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4834, allocations: 0.7493 MB / 0.6945 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002871/0.4837, allocations: 210.2 kB / 0.6947 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002554/0.4839, allocations: 233.9 kB / 0.6949 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.4851, allocations: 0.7263 MB / 0.6956 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4851, allocations: 4.938 kB / 0.6956 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4851, allocations: 0 / 0.6956 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4851, allocations: 0 / 0.6956 GB, free: 13.15 MB / 494.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.001364/0.4865, allocations: 0.8833 MB / 0.6965 GB, free: 12.51 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.4866, allocations: 9.844 kB / 0.6965 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/0.4878, allocations: 210 kB / 0.6967 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.4897, allocations: 0.9602 MB / 0.6976 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.4897, allocations: 14.83 kB / 0.6976 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.4898, allocations: 16.75 kB / 0.6976 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.4904, allocations: 255.8 kB / 0.6979 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.4904, allocations: 7.875 kB / 0.6979 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.4904, allocations: 1.094 kB / 0.6979 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4905, allocations: 9.984 kB / 0.6979 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006882/0.4911, allocations: 238.1 kB / 0.6981 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.4925, allocations: 0.8279 MB / 0.6989 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.4933, allocations: 299.8 kB / 0.6992 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003383/0.4936, allocations: 127.6 kB / 0.6994 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4937, allocations: 1.797 kB / 0.6994 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.657e-05/0.4937, allocations: 40.7 kB / 0.6994 GB, free: 11.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/0.4937, allocations: 0 / 0.6994 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.00124/0.4949, allocations: 455.3 kB / 0.6998 GB, free: 11.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.495, allocations: 56.19 kB / 0.6999 GB, free: 10.99 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.4959, allocations: 0.7414 MB / 0.7006 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.4959, allocations: 27.02 kB / 0.7006 GB, free: 10.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.4961, allocations: 224.9 kB / 0.7008 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.4961, allocations: 44.7 kB / 0.7009 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.4964, allocations: 155.5 kB / 0.701 GB, free: 10.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4965, allocations: 368.9 kB / 0.7014 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007419/0.4972, allocations: 440.3 kB / 0.7018 GB, free: 9.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00083/0.4981, allocations: 0.5286 MB / 0.7023 GB, free: 9.637 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.4995, allocations: 0.8774 MB / 0.7032 GB, free: 9.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4995, allocations: 0.6562 kB / 0.7032 GB, free: 9.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001852/0.5014, allocations: 1.073 MB / 0.7042 GB, free: 8.898 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5014, allocations: 6.156 kB / 0.7042 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5014, allocations: 1.875 kB / 0.7042 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.5014, allocations: 4.734 kB / 0.7042 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.502, allocations: 113.7 kB / 0.7043 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.502, allocations: 4.578 kB / 0.7044 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004854/0.5025, allocations: 72.59 kB / 0.7044 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.5026, allocations: 33.77 kB / 0.7045 GB, free: 8.844 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008221/0.5034, allocations: 0.5466 MB / 0.705 GB, free: 8.598 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006941/0.5041, allocations: 470.1 kB / 0.7054 GB, free: 8.383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001198/0.5053, allocations: 0.7294 MB / 0.7061 GB, free: 8.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/0.5053, allocations: 1.938 kB / 0.7062 GB, free: 8.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001538/0.5069, allocations: 0.9111 MB / 0.707 GB, free: 7.754 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.5069, allocations: 10.38 kB / 0.7071 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5069, allocations: 2.203 kB / 0.7071 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.542e-06/0.5069, allocations: 3.719 kB / 0.7071 GB, free: 7.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.5074, allocations: 114.4 kB / 0.7072 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.5074, allocations: 4.234 kB / 0.7072 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/0.5078, allocations: 53.59 kB / 0.7072 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.987e-05/0.5079, allocations: 27.25 kB / 0.7072 GB, free: 7.711 MB / 494.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.0001355/0.508, allocations: 207.5 kB / 0.7074 GB, free: 7.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.5081, allocations: 56.16 kB / 0.7075 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009509/0.509, allocations: 361.9 kB / 0.7078 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.5091, allocations: 1.188 kB / 0.7078 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5091, allocations: 5.5 kB / 0.7078 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5091, allocations: 0.8438 kB / 0.7078 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.5096, allocations: 395.7 kB / 0.7082 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5096, allocations: 0 / 0.7082 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.5098, allocations: 44.75 kB / 0.7083 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5098, allocations: 0 / 0.7083 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.5099, allocations: 7.922 kB / 0.7083 GB, free: 7.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5099, allocations: 6.203 kB / 0.7083 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5099, allocations: 0 / 0.7083 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008057/0.5107, allocations: 428.8 kB / 0.7087 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/0.5109, allocations: 156.6 kB / 0.7088 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.5109, allocations: 1.938 kB / 0.7088 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5112, allocations: 27.89 kB / 0.7089 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.5113, allocations: 9.094 kB / 0.7089 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.5113, allocations: 8.625 kB / 0.7089 GB, free: 6.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005623/0.5119, allocations: 0.4949 MB / 0.7094 GB, free: 6.477 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5119, allocations: 0 / 0.7094 GB, free: 6.477 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001195/0.5131, allocations: 308.4 kB / 0.7097 GB, free: 6.438 MB / 494.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.0008327/0.5139, allocations: 378.1 kB / 0.71 GB, free: 6.297 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002069/0.516, allocations: 1.146 MB / 0.7111 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.516, allocations: 0 / 0.7111 GB, free: 5.91 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003617/0.5164, allocations: 134.9 kB / 0.7113 GB, free: 5.879 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000878/0.5173, allocations: 210.7 kB / 0.7115 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.5188, allocations: 1.082 MB / 0.7125 GB, free: 5.191 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.5192, allocations: 0.8861 MB / 0.7134 GB, free: 4.457 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.5195, allocations: 60.66 kB / 0.7135 GB, free: 4.438 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5195, allocations: 0 / 0.7135 GB, free: 4.438 MB / 494.1 MB Notification: Performance of Templates: time 0.01461/0.5341, allocations: 9.939 MB / 0.7232 GB, free: 444 kB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)