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: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 186.8 kB / 16.92 MB, free: 6.891 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7854/0.7854, allocations: 115.5 MB / 407.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003245/0.0003245, allocations: 8 kB / 496 MB, free: 6.312 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1659, allocations: 77.54 MB / 0.56 GB, free: 8.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002986/0.169, allocations: 2.054 MB / 0.5621 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006532/0.1755, allocations: 3.832 MB / 0.5658 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.1759, allocations: 11.94 kB / 0.5658 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005788/0.1817, allocations: 3.168 MB / 0.5689 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009304/0.1826, allocations: 366.7 kB / 0.5693 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1838, allocations: 466.5 kB / 0.5697 GB, free: 15.07 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, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004777/0.1886, allocations: 3.584 MB / 0.5732 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1887, allocations: 40.75 kB / 0.5732 GB, free: 11.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003767/0.1891, allocations: 187.2 kB / 0.5734 GB, free: 11.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.1895, allocations: 235 kB / 0.5736 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.912e-05/0.1896, allocations: 8 kB / 0.5736 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.1906, allocations: 0.5966 MB / 0.5742 GB, free: 10.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1909, allocations: 199.4 kB / 0.5744 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002571/0.1911, allocations: 268.2 kB / 0.5747 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.1925, allocations: 0.9421 MB / 0.5756 GB, free: 9.012 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1925, allocations: 0 / 0.5756 GB, free: 9.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1925, allocations: 0 / 0.5756 GB, free: 9.012 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.351e-05/0.1925, allocations: 0 / 0.5756 GB, free: 9.012 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.001795/0.1943, allocations: 0.8554 MB / 0.5764 GB, free: 8.105 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1944, allocations: 8.031 kB / 0.5764 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.246e-05/0.1945, allocations: 42.73 kB / 0.5765 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009123/0.1954, allocations: 156.1 kB / 0.5766 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.1971, allocations: 1.14 MB / 0.5777 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1971, allocations: 7.984 kB / 0.5777 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.1972, allocations: 12 kB / 0.5778 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005243/0.1977, allocations: 191.2 kB / 0.5779 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1977, allocations: 0 / 0.5779 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.1978, allocations: 0 / 0.5779 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1978, allocations: 4 kB / 0.5779 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006916/0.1985, allocations: 199.8 kB / 0.5781 GB, free: 6.305 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1998, allocations: 0.7339 MB / 0.5789 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.2007, allocations: 198.6 kB / 0.579 GB, free: 5.316 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/0.201, allocations: 92.8 kB / 0.5791 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.201, allocations: 0 / 0.5791 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2011, allocations: 38.5 kB / 0.5792 GB, free: 5.176 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.2011, allocations: 0 / 0.5792 GB, free: 5.176 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001051/0.2021, allocations: 348.7 kB / 0.5795 GB, free: 4.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2022, allocations: 51.41 kB / 0.5795 GB, free: 4.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008655/0.2031, allocations: 0.7811 MB / 0.5803 GB, free: 3.977 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2031, allocations: 30.08 kB / 0.5803 GB, free: 3.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.2033, allocations: 252.5 kB / 0.5806 GB, free: 3.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.2033, allocations: 35.55 kB / 0.5806 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/0.2034, allocations: 93.66 kB / 0.5807 GB, free: 3.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2036, allocations: 382.6 kB / 0.5811 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005373/0.2041, allocations: 297.4 kB / 0.5814 GB, free: 2.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.2048, allocations: 424.3 kB / 0.5818 GB, free: 2.434 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.2058, allocations: 0.6365 MB / 0.5824 GB, free: 1.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.2059, allocations: 4 kB / 0.5824 GB, free: 1.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001351/0.2072, allocations: 0.8242 MB / 0.5832 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.2073, allocations: 172.8 kB / 0.5834 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2073, allocations: 0 / 0.5834 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.2074, allocations: 11.98 kB / 0.5834 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.2081, allocations: 139.8 kB / 0.5835 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3344/0.5425, allocations: 0.6246 MB / 0.5841 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006931/0.5432, allocations: 79.36 kB / 0.5842 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5433, allocations: 25.11 kB / 0.5842 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5433, allocations: 4.031 kB / 0.5842 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.5448, allocations: 0.7261 MB / 0.5849 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5449, allocations: 5.062 kB / 0.5849 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.5449, allocations: 4.594 kB / 0.5849 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.5455, allocations: 136.1 kB / 0.5851 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5455, allocations: 7.203 kB / 0.5851 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.5459, allocations: 64.83 kB / 0.5851 GB, free: 30.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.5459, allocations: 27.14 kB / 0.5852 GB, free: 30.15 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.000334/0.5463, allocations: 315.2 kB / 0.5855 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.338e-05/0.5464, allocations: 56.09 kB / 0.5855 GB, free: 29.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.5472, allocations: 264.9 kB / 0.5858 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5472, allocations: 3.766 kB / 0.5858 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5472, allocations: 4.875 kB / 0.5858 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5472, allocations: 1.594 kB / 0.5858 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.5477, allocations: 389.7 kB / 0.5861 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.5477, allocations: 4.5 kB / 0.5861 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.5481, allocations: 63.23 kB / 0.5862 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5481, allocations: 2.125 kB / 0.5862 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5481, allocations: 1.875 kB / 0.5862 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002249/0.5483, allocations: 0.6051 MB / 0.5868 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5483, allocations: 1.828 kB / 0.5868 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.5491, allocations: 368.5 kB / 0.5872 GB, free: 28.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5492, allocations: 156.5 kB / 0.5873 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.5493, allocations: 1.766 kB / 0.5873 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.5496, allocations: 34.73 kB / 0.5873 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.5496, allocations: 7.422 kB / 0.5873 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.5496, allocations: 3.234 kB / 0.5873 GB, free: 28.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006819/0.5503, allocations: 0.5227 MB / 0.5879 GB, free: 28.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5503, allocations: 0.7812 kB / 0.5879 GB, free: 28.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001061/0.5514, allocations: 297 kB / 0.5881 GB, free: 28.75 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.001584/0.553, allocations: 1.128 MB / 0.5892 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.5553, allocations: 0.9126 MB / 0.5901 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5553, allocations: 0 / 0.5901 GB, free: 28.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.5557, allocations: 115.2 kB / 0.5902 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.5567, allocations: 186.9 kB / 0.5904 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.5674, allocations: 5.713 MB / 0.596 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.568, allocations: 0.8968 MB / 0.5969 GB, free: 24.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008347/0.5688, allocations: 175 kB / 0.597 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/0.5692, allocations: 210.1 kB / 0.5972 GB, free: 24.56 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5692, allocations: 1.062 kB / 0.5972 GB, free: 24.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03746/0.6066, allocations: 16.04 MB / 0.6129 GB, free: 19.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/0.6068, allocations: 260.5 kB / 0.6132 GB, free: 19.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.228/2.835, allocations: 0 / 0.6132 GB, free: 19.02 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)