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.00142/0.00142, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001304/0.001304, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9635/0.9635, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 91.86 kB / 0.6821 GB, free: 7.023 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4663/0.4683, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.0033/0.4716, allocations: 2.367 MB / 0.7694 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005659/0.4773, allocations: 3.817 MB / 0.7731 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.4777, allocations: 8 kB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.4804, allocations: 1.048 MB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0008681/0.4813, allocations: 422.4 kB / 0.7745 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.4824, allocations: 0.5179 MB / 0.775 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004692/0.4871, allocations: 3.361 MB / 0.7783 GB, free: 8.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.4873, allocations: 40.67 kB / 0.7783 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.4877, allocations: 231.3 kB / 0.7786 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.4881, allocations: 219.1 kB / 0.7788 GB, free: 7.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.4882, allocations: 20 kB / 0.7788 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000965/0.4891, allocations: 0.581 MB / 0.7794 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.4894, allocations: 211.4 kB / 0.7796 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.4897, allocations: 262.5 kB / 0.7798 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4911, allocations: 0.9541 MB / 0.7807 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4911, allocations: 0 / 0.7807 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4911, allocations: 0 / 0.7807 GB, free: 5.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.041e-05/0.4911, allocations: 0 / 0.7807 GB, free: 5.887 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.001793/0.4929, allocations: 0.9369 MB / 0.7817 GB, free: 4.898 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.493, allocations: 8.031 kB / 0.7817 GB, free: 4.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.4939, allocations: 152.1 kB / 0.7818 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001759/0.4957, allocations: 1.163 MB / 0.783 GB, free: 3.535 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4957, allocations: 8 kB / 0.783 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.4957, allocations: 12 kB / 0.783 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.4963, allocations: 177.5 kB / 0.7831 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4963, allocations: 0 / 0.7831 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.4963, allocations: 4 kB / 0.7831 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4963, allocations: 4 kB / 0.7831 GB, free: 3.328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.497, allocations: 171.8 kB / 0.7833 GB, free: 3.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.4986, allocations: 0.7145 MB / 0.784 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008295/0.4994, allocations: 190.6 kB / 0.7842 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002658/0.4997, allocations: 80.8 kB / 0.7843 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4997, allocations: 7.922 kB / 0.7843 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.4997, allocations: 34.56 kB / 0.7843 GB, free: 2.066 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.4998, allocations: 4 kB / 0.7843 GB, free: 2.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0009847/0.5007, allocations: 312.6 kB / 0.7846 GB, free: 1.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.5008, allocations: 51.41 kB / 0.7847 GB, free: 1.688 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009503/0.5017, allocations: 0.785 MB / 0.7854 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.5018, allocations: 29.7 kB / 0.7855 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.502, allocations: 244.5 kB / 0.7857 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.502, allocations: 43.48 kB / 0.7857 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.5022, allocations: 158 kB / 0.7859 GB, free: 416 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5024, allocations: 382.8 kB / 0.7862 GB, free: 24 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.5029, allocations: 291.4 kB / 0.7865 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.5035, allocations: 404.4 kB / 0.7869 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.5045, allocations: 0.6247 MB / 0.7875 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5045, allocations: 0 / 0.7875 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001358/0.5059, allocations: 0.785 MB / 0.7883 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.5059, allocations: 12.28 kB / 0.7883 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.506, allocations: 11.94 kB / 0.7883 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.506, allocations: 4 kB / 0.7883 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.5067, allocations: 123.9 kB / 0.7884 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005359/0.5073, allocations: 0.6328 MB / 0.789 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.5078, allocations: 79.44 kB / 0.7891 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.5078, allocations: 23.98 kB / 0.7891 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006698/0.5085, allocations: 473.5 kB / 0.7896 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005586/0.5091, allocations: 408.3 kB / 0.79 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009446/0.51, allocations: 0.5963 MB / 0.7906 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.597e-06/0.51, allocations: 0 / 0.7906 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001338/0.5114, allocations: 0.7837 MB / 0.7913 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5114, allocations: 8 kB / 0.7913 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.5114, allocations: 0 / 0.7913 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.5114, allocations: 8 kB / 0.7914 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005166/0.5119, allocations: 119.9 kB / 0.7915 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.512, allocations: 12.06 kB / 0.7915 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.5124, allocations: 71.58 kB / 0.7915 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.5125, allocations: 23.94 kB / 0.7916 GB, free: 10.37 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.000154/0.5126, allocations: 196.2 kB / 0.7918 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5127, allocations: 59.19 kB / 0.7918 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007136/0.5135, allocations: 243.5 kB / 0.792 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5135, allocations: 0 / 0.792 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.5135, allocations: 7.938 kB / 0.7921 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5135, allocations: 3.938 kB / 0.7921 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.514, allocations: 385.2 kB / 0.7924 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.514, allocations: 0 / 0.7924 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.5143, allocations: 51.97 kB / 0.7925 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5143, allocations: 7.969 kB / 0.7925 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.5143, allocations: 4 kB / 0.7925 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003196/0.5146, allocations: 0.6016 MB / 0.7931 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5146, allocations: 0 / 0.7931 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006633/0.5153, allocations: 338.8 kB / 0.7934 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.5155, allocations: 160.3 kB / 0.7935 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.5156, allocations: 0 / 0.7935 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.5159, allocations: 27.97 kB / 0.7936 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.516, allocations: 7.984 kB / 0.7936 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.516, allocations: 7.938 kB / 0.7936 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006622/0.5166, allocations: 0.5224 MB / 0.7941 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5167, allocations: 0 / 0.7941 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009472/0.5176, allocations: 311.8 kB / 0.7944 GB, free: 7.355 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.0008088/0.5184, allocations: 339 kB / 0.7947 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002076/0.5205, allocations: 0.8806 MB / 0.7956 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5205, allocations: 0 / 0.7956 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000377/0.5209, allocations: 100.3 kB / 0.7957 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008845/0.5218, allocations: 202.2 kB / 0.7959 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.5246, allocations: 1.148 MB / 0.797 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.5251, allocations: 0.8974 MB / 0.7979 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.5253, allocations: 59.41 kB / 0.7979 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.5254, allocations: 0 / 0.7979 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.0178/0.5432, allocations: 11.57 MB / 0.8092 GB, free: 8.18 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)