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.001282/0.001282, allocations: 105.5 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.001339/0.001339, 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002117/0.002118, allocations: 284 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.9269/0.9269, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 95.86 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3852, allocations: 86.98 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003294/0.3885, allocations: 2.363 MB / 0.7694 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.394, allocations: 3.811 MB / 0.7731 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3941, allocations: 11.94 kB / 0.7731 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.3965, allocations: 1.044 MB / 0.7741 GB, free: 12.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007187/0.3972, allocations: 430.3 kB / 0.7745 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009002/0.3981, allocations: 0.5254 MB / 0.775 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004472/0.4026, allocations: 3.36 MB / 0.7783 GB, free: 8.371 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.4027, allocations: 40.67 kB / 0.7784 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003046/0.403, allocations: 243.2 kB / 0.7786 GB, free: 8.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.4033, allocations: 215.2 kB / 0.7788 GB, free: 7.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.846e-05/0.4034, allocations: 20 kB / 0.7788 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008621/0.4042, allocations: 0.5771 MB / 0.7794 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.4044, allocations: 219.4 kB / 0.7796 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002193/0.4047, allocations: 258.4 kB / 0.7798 GB, free: 6.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009972/0.4057, allocations: 0.9503 MB / 0.7808 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4057, allocations: 0 / 0.7808 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4057, allocations: 4 kB / 0.7808 GB, free: 5.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4057, allocations: 4 kB / 0.7808 GB, free: 5.855 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.4072, allocations: 0.9329 MB / 0.7817 GB, free: 4.871 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.4073, allocations: 12.03 kB / 0.7817 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/0.4081, allocations: 148.1 kB / 0.7818 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.4097, allocations: 1.163 MB / 0.783 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4098, allocations: 12 kB / 0.783 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.4098, allocations: 12 kB / 0.783 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004808/0.4103, allocations: 169.5 kB / 0.7832 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.4103, allocations: 0 / 0.7832 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.4103, allocations: 11.98 kB / 0.7832 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.4103, allocations: 0 / 0.7832 GB, free: 3.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.411, allocations: 167.9 kB / 0.7833 GB, free: 3.137 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.4122, allocations: 0.73 MB / 0.784 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.4131, allocations: 174.6 kB / 0.7842 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4134, allocations: 80.8 kB / 0.7843 GB, free: 2.094 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4134, allocations: 3.938 kB / 0.7843 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4134, allocations: 38.56 kB / 0.7843 GB, free: 2.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.4134, allocations: 0 / 0.7843 GB, free: 2.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.000971/0.4144, allocations: 304.7 kB / 0.7846 GB, free: 1.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.4144, allocations: 55.41 kB / 0.7847 GB, free: 1.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008675/0.4153, allocations: 0.7889 MB / 0.7854 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.4154, allocations: 25.7 kB / 0.7855 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.4156, allocations: 256.9 kB / 0.7857 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.4156, allocations: 31.55 kB / 0.7857 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.4158, allocations: 162 kB / 0.7859 GB, free: 396 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4159, allocations: 370.8 kB / 0.7862 GB, free: 16 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005476/0.4165, allocations: 299.3 kB / 0.7865 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.4171, allocations: 412.3 kB / 0.7869 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009792/0.4181, allocations: 0.6131 MB / 0.7875 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.4181, allocations: 3.938 kB / 0.7875 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001309/0.4194, allocations: 0.7968 MB / 0.7883 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4195, allocations: 8 kB / 0.7883 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4195, allocations: 4 kB / 0.7883 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4195, allocations: 4 kB / 0.7883 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.4202, allocations: 127.8 kB / 0.7884 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.4208, allocations: 0.6291 MB / 0.7891 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.4212, allocations: 83.27 kB / 0.7891 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.4213, allocations: 20 kB / 0.7892 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006903/0.422, allocations: 484 kB / 0.7896 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005846/0.4226, allocations: 404.3 kB / 0.79 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009493/0.4235, allocations: 0.604 MB / 0.7906 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.4235, allocations: 0 / 0.7906 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001305/0.4248, allocations: 0.7799 MB / 0.7914 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4249, allocations: 8 kB / 0.7914 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4249, allocations: 4 kB / 0.7914 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.4249, allocations: 4 kB / 0.7914 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.4254, allocations: 135.9 kB / 0.7915 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.4254, allocations: 7.984 kB / 0.7915 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.4259, allocations: 63.64 kB / 0.7916 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.4259, allocations: 27.92 kB / 0.7916 GB, free: 10.34 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.0001353/0.426, allocations: 205.2 kB / 0.7918 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.4261, allocations: 55.25 kB / 0.7918 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006931/0.4268, allocations: 235.1 kB / 0.7921 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4268, allocations: 0 / 0.7921 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4269, allocations: 96 / 0.7921 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.4271, allocations: 172.1 kB / 0.7922 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.5e-05/0.4271, allocations: 0 / 0.7922 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.4274, allocations: 31.97 kB / 0.7923 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4275, allocations: 4 kB / 0.7923 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008661/0.4284, allocations: 317.6 kB / 0.7926 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009728/0.4293, allocations: 0.4977 MB / 0.7931 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00027/0.4296, allocations: 79.97 kB / 0.7931 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006329/0.4303, allocations: 0.5264 MB / 0.7936 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of Backend: time 4.81e-07/0.4303, allocations: 0 / 0.7936 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.4331, allocations: 1.114 MB / 0.7947 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001915/0.435, allocations: 1.534 MB / 0.7962 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of Templates: time 0.01952/0.4546, allocations: 12.99 MB / 0.8089 GB, free: 8.641 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)