Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001657/0.001657, allocations: 108.3 kB / 16.41 MB, free: 6.492 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.001911/0.001911, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.324/1.324, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 283 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002026, allocations: 99.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5015, allocations: 86.97 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003879/0.5054, allocations: 2.37 MB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.5116, allocations: 3.803 MB / 0.7731 GB, free: 13.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.512, allocations: 7.938 kB / 0.7731 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003115/0.5151, allocations: 1.05 MB / 0.7741 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.5162, allocations: 430.4 kB / 0.7745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5176, allocations: 0.5176 MB / 0.775 GB, free: 11.69 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005277/0.5229, allocations: 3.373 MB / 0.7783 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.5231, allocations: 36.69 kB / 0.7784 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004692/0.5236, allocations: 235.2 kB / 0.7786 GB, free: 8.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003834/0.524, allocations: 211.2 kB / 0.7788 GB, free: 7.844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.509e-05/0.524, allocations: 16 kB / 0.7788 GB, free: 7.828 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.5251, allocations: 0.5849 MB / 0.7794 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.5254, allocations: 211.3 kB / 0.7796 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.5257, allocations: 270.5 kB / 0.7798 GB, free: 6.77 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.5272, allocations: 0.9502 MB / 0.7808 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.5272, allocations: 0 / 0.7808 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.054e-06/0.5272, allocations: 0 / 0.7808 GB, free: 5.816 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.5272, allocations: 0 / 0.7808 GB, free: 5.816 MB / 0.545 GB 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.001918/0.5291, allocations: 0.9369 MB / 0.7817 GB, free: 4.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.5292, allocations: 8.031 kB / 0.7817 GB, free: 4.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/0.5301, allocations: 152.1 kB / 0.7818 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.5319, allocations: 1.159 MB / 0.783 GB, free: 3.469 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.5319, allocations: 11.98 kB / 0.783 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.5319, allocations: 12 kB / 0.783 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.5325, allocations: 173.5 kB / 0.7831 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5325, allocations: 0 / 0.7831 GB, free: 3.27 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.5325, allocations: 4 kB / 0.7831 GB, free: 3.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.5325, allocations: 4 kB / 0.7832 GB, free: 3.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.5332, allocations: 175.8 kB / 0.7833 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.5346, allocations: 0.7183 MB / 0.784 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.5355, allocations: 198.5 kB / 0.7842 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.5357, allocations: 76.8 kB / 0.7843 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.5358, allocations: 0 / 0.7843 GB, free: 2.039 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.5358, allocations: 34.56 kB / 0.7843 GB, free: 1.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.5358, allocations: 0 / 0.7843 GB, free: 1.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0009956/0.5368, allocations: 308.7 kB / 0.7846 GB, free: 1.688 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.5369, allocations: 51.41 kB / 0.7847 GB, free: 1.625 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009733/0.5379, allocations: 0.785 MB / 0.7854 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.5379, allocations: 29.7 kB / 0.7855 GB, free: 0.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.5381, allocations: 248.5 kB / 0.7857 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.5382, allocations: 43.53 kB / 0.7857 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.5384, allocations: 158 kB / 0.7859 GB, free: 348 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5385, allocations: 374.8 kB / 0.7862 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005358/0.5391, allocations: 295.4 kB / 0.7865 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.5397, allocations: 412.3 kB / 0.7869 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.5407, allocations: 0.6169 MB / 0.7875 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.5407, allocations: 0 / 0.7875 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0014/0.5421, allocations: 0.8046 MB / 0.7883 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.5422, allocations: 8 kB / 0.7883 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.5422, allocations: 0 / 0.7883 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.5422, allocations: 8 kB / 0.7883 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.543, allocations: 131.9 kB / 0.7884 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005458/0.5435, allocations: 0.6288 MB / 0.7891 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.544, allocations: 75.38 kB / 0.7891 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5441, allocations: 27.98 kB / 0.7892 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006955/0.5448, allocations: 476 kB / 0.7896 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005883/0.5454, allocations: 408.3 kB / 0.79 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009626/0.5463, allocations: 0.6002 MB / 0.7906 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.306e-06/0.5463, allocations: 480 / 0.7906 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001344/0.5477, allocations: 0.7758 MB / 0.7913 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5477, allocations: 8 kB / 0.7914 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5477, allocations: 0 / 0.7914 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.5477, allocations: 8.438 kB / 0.7914 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.5483, allocations: 127.8 kB / 0.7915 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.5483, allocations: 15.88 kB / 0.7915 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.5488, allocations: 63.58 kB / 0.7916 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/0.5488, allocations: 28 kB / 0.7916 GB, free: 10.29 MB / 0.5606 GB 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.0001819/0.549, allocations: 196.2 kB / 0.7918 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.5491, allocations: 55.25 kB / 0.7918 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007352/0.5499, allocations: 239 kB / 0.7921 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.5499, allocations: 0 / 0.7921 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5499, allocations: 3.938 kB / 0.7921 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.5499, allocations: 0 / 0.7921 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.5504, allocations: 397.2 kB / 0.7924 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.5504, allocations: 0 / 0.7924 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.5507, allocations: 51.91 kB / 0.7925 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.5507, allocations: 11.98 kB / 0.7925 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5508, allocations: 0 / 0.7925 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003407/0.5511, allocations: 0.6055 MB / 0.7931 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5511, allocations: 0 / 0.7931 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006824/0.5518, allocations: 334.8 kB / 0.7934 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.552, allocations: 156.3 kB / 0.7936 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.555e-05/0.5521, allocations: 0 / 0.7936 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.5524, allocations: 28.16 kB / 0.7936 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.5525, allocations: 11.98 kB / 0.7936 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5525, allocations: 7.938 kB / 0.7936 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006823/0.5532, allocations: 0.5224 MB / 0.7941 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5532, allocations: 0 / 0.7941 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009421/0.5541, allocations: 303.8 kB / 0.7944 GB, free: 7.289 MB / 0.5606 GB 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.0008052/0.5549, allocations: 342.8 kB / 0.7947 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002188/0.5571, allocations: 0.8723 MB / 0.7956 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.5571, allocations: 5 kB / 0.7956 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003838/0.5575, allocations: 103.9 kB / 0.7957 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009346/0.5585, allocations: 200.7 kB / 0.7959 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002862/0.5614, allocations: 1.14 MB / 0.797 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.5619, allocations: 0.9051 MB / 0.7979 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.5621, allocations: 59.41 kB / 0.7979 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.5621, allocations: 0 / 0.7979 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of Templates: time 0.01834/0.5804, allocations: 11.57 MB / 0.8092 GB, free: 8.109 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)