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.001105/0.001105, allocations: 113.9 kB / 16.42 MB, free: 6.449 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.001131/0.001131, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 291.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9369/0.9369, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 91.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3735, allocations: 86.97 MB / 0.767 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003435/0.377, allocations: 2.363 MB / 0.7694 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005512/0.3825, allocations: 3.819 MB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3827, allocations: 11.94 kB / 0.7731 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.3851, allocations: 1.05 MB / 0.7741 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006894/0.3858, allocations: 426.3 kB / 0.7745 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009024/0.3867, allocations: 0.5068 MB / 0.775 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004337/0.391, allocations: 3.357 MB / 0.7783 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3912, allocations: 48.67 kB / 0.7783 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.3915, allocations: 235.2 kB / 0.7786 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002758/0.3918, allocations: 211.2 kB / 0.7788 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.3918, allocations: 20 kB / 0.7788 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.3926, allocations: 0.581 MB / 0.7794 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.3928, allocations: 219.4 kB / 0.7796 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.393, allocations: 254.5 kB / 0.7798 GB, free: 6.836 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3941, allocations: 0.9619 MB / 0.7808 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3941, allocations: 3.984 kB / 0.7808 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3941, allocations: 0 / 0.7808 GB, free: 5.867 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.3941, allocations: 0 / 0.7808 GB, free: 5.867 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.001488/0.3956, allocations: 0.9329 MB / 0.7817 GB, free: 4.883 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3957, allocations: 8.031 kB / 0.7817 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008475/0.3965, allocations: 156.1 kB / 0.7818 GB, free: 4.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.398, allocations: 1.163 MB / 0.783 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3981, allocations: 12 kB / 0.783 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.3981, allocations: 8 kB / 0.783 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.3986, allocations: 180.2 kB / 0.7832 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3986, allocations: 0 / 0.7832 GB, free: 3.316 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.3986, allocations: 4 kB / 0.7832 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3986, allocations: 4 kB / 0.7832 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/0.3993, allocations: 167.9 kB / 0.7833 GB, free: 3.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.4005, allocations: 0.7222 MB / 0.784 GB, free: 2.371 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008043/0.4013, allocations: 178.6 kB / 0.7842 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.4016, allocations: 84.73 kB / 0.7843 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.4016, allocations: 7.938 kB / 0.7843 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.4016, allocations: 30.56 kB / 0.7843 GB, free: 2.055 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.664e-06/0.4016, allocations: 0 / 0.7843 GB, free: 2.055 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0009506/0.4026, allocations: 308.7 kB / 0.7846 GB, free: 1.746 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.4026, allocations: 55.41 kB / 0.7847 GB, free: 1.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008334/0.4035, allocations: 0.785 MB / 0.7854 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.4035, allocations: 33.7 kB / 0.7855 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001815/0.4037, allocations: 248.5 kB / 0.7857 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.4037, allocations: 35.55 kB / 0.7857 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.404, allocations: 154 kB / 0.7859 GB, free: 412 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4041, allocations: 374.8 kB / 0.7862 GB, free: 28 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.4047, allocations: 295.4 kB / 0.7865 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.4053, allocations: 412.7 kB / 0.7869 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009514/0.4062, allocations: 0.6131 MB / 0.7875 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.4063, allocations: 7.938 kB / 0.7875 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001376/0.4076, allocations: 0.7927 MB / 0.7883 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4077, allocations: 10.91 kB / 0.7883 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.4077, allocations: 4 kB / 0.7883 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4077, allocations: 8.344 kB / 0.7883 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007241/0.4084, allocations: 135.8 kB / 0.7884 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005533/0.409, allocations: 0.6212 MB / 0.789 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.4094, allocations: 83.38 kB / 0.7891 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.4095, allocations: 20 kB / 0.7891 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006615/0.4101, allocations: 479.8 kB / 0.7896 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005654/0.4107, allocations: 412.3 kB / 0.79 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00094/0.4117, allocations: 0.6001 MB / 0.7906 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.4117, allocations: 0 / 0.7906 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001304/0.413, allocations: 0.78 MB / 0.7913 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.413, allocations: 4 kB / 0.7913 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.413, allocations: 4 kB / 0.7914 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/0.413, allocations: 4 kB / 0.7914 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.4136, allocations: 131.8 kB / 0.7915 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.4136, allocations: 8 kB / 0.7915 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.414, allocations: 67.69 kB / 0.7916 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.414, allocations: 31.92 kB / 0.7916 GB, free: 10.35 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.0001188/0.4142, allocations: 196.1 kB / 0.7918 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.4142, allocations: 51.25 kB / 0.7918 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006892/0.4149, allocations: 247 kB / 0.7921 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.415, allocations: 3.984 kB / 0.7921 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.415, allocations: 0 / 0.7921 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.4151, allocations: 164.2 kB / 0.7922 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.932e-05/0.4152, allocations: 0 / 0.7922 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.4155, allocations: 24.25 kB / 0.7922 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.4155, allocations: 11.98 kB / 0.7923 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008335/0.4164, allocations: 321.5 kB / 0.7926 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009727/0.4174, allocations: 0.4977 MB / 0.793 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002663/0.4176, allocations: 75.97 kB / 0.7931 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005787/0.4182, allocations: 0.5302 MB / 0.7936 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of Backend: time 2.41e-07/0.4182, allocations: 0 / 0.7936 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002606/0.4208, allocations: 1.11 MB / 0.7947 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001886/0.4227, allocations: 1.538 MB / 0.7962 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of Templates: time 0.01942/0.4422, allocations: 12.99 MB / 0.8089 GB, free: 8.656 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)