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.001227/0.001227, allocations: 103.1 kB / 16.27 MB, free: 5.965 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.001225/0.001225, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3459, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003621/0.3496, allocations: 2.358 MB / 0.5696 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006262/0.3558, allocations: 3.791 MB / 0.5733 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.3561, allocations: 5.156 kB / 0.5733 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006692/0.3629, allocations: 3.215 MB / 0.5764 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009748/0.3639, allocations: 404.4 kB / 0.5768 GB, free: 27.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3652, allocations: 0.5065 MB / 0.5773 GB, free: 27.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004477/0.3697, allocations: 3.296 MB / 0.5805 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3698, allocations: 45.39 kB / 0.5806 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.3701, allocations: 202.2 kB / 0.5808 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.3703, allocations: 211 kB / 0.581 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.3704, allocations: 17.19 kB / 0.581 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00097/0.3713, allocations: 0.5684 MB / 0.5815 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.3715, allocations: 211.2 kB / 0.5818 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001878/0.3717, allocations: 257 kB / 0.582 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.3727, allocations: 0.9467 MB / 0.5829 GB, free: 24.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3727, allocations: 5.125 kB / 0.5829 GB, free: 24.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3727, allocations: 1.344 kB / 0.5829 GB, free: 24.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3727, allocations: 0 / 0.5829 GB, free: 24.37 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.001263/0.374, allocations: 0.9208 MB / 0.5838 GB, free: 23.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.374, allocations: 10 kB / 0.5838 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.374, allocations: 41.25 kB / 0.5839 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008149/0.3749, allocations: 153.9 kB / 0.584 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.3763, allocations: 1.147 MB / 0.5851 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.3763, allocations: 11.31 kB / 0.5852 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.3764, allocations: 17.38 kB / 0.5852 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004597/0.3768, allocations: 180.6 kB / 0.5853 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3769, allocations: 3.984 kB / 0.5853 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3769, allocations: 1.406 kB / 0.5853 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3769, allocations: 1.281 kB / 0.5853 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006209/0.3775, allocations: 183.7 kB / 0.5855 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3787, allocations: 0.7191 MB / 0.5862 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008362/0.3795, allocations: 196.3 kB / 0.5864 GB, free: 21.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.3798, allocations: 76.55 kB / 0.5865 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3799, allocations: 5.125 kB / 0.5865 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.3799, allocations: 35.72 kB / 0.5865 GB, free: 21.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.3799, allocations: 1.156 kB / 0.5865 GB, free: 21.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001028/0.3809, allocations: 309.5 kB / 0.5868 GB, free: 21.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.381, allocations: 57.06 kB / 0.5869 GB, free: 21.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009809/0.3819, allocations: 0.7802 MB / 0.5876 GB, free: 21.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.382, allocations: 30.77 kB / 0.5877 GB, free: 21.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.3822, allocations: 248.2 kB / 0.5879 GB, free: 20.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3822, allocations: 38.17 kB / 0.5879 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.3825, allocations: 160.1 kB / 0.5881 GB, free: 20.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3826, allocations: 371.8 kB / 0.5884 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.3831, allocations: 295.6 kB / 0.5887 GB, free: 20.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.3837, allocations: 426.5 kB / 0.5891 GB, free: 19.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009121/0.3846, allocations: 0.6248 MB / 0.5897 GB, free: 19.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3846, allocations: 0 / 0.5897 GB, free: 19.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001201/0.3858, allocations: 0.7889 MB / 0.5905 GB, free: 18.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3859, allocations: 4.438 kB / 0.5905 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3859, allocations: 11.94 kB / 0.5905 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.3859, allocations: 4 kB / 0.5905 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.3866, allocations: 135.8 kB / 0.5907 GB, free: 18.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004557/0.3871, allocations: 0.6289 MB / 0.5913 GB, free: 17.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.3876, allocations: 75.5 kB / 0.5913 GB, free: 17.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.3876, allocations: 27.98 kB / 0.5914 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005484/0.3882, allocations: 477.4 kB / 0.5918 GB, free: 17.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004439/0.3886, allocations: 408.3 kB / 0.5922 GB, free: 16.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007688/0.3894, allocations: 0.6002 MB / 0.5928 GB, free: 16.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.3894, allocations: 0 / 0.5928 GB, free: 16.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001087/0.3905, allocations: 0.7915 MB / 0.5936 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.748e-06/0.3905, allocations: 8 kB / 0.5936 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.3905, allocations: 0 / 0.5936 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.3905, allocations: 8 kB / 0.5936 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.391, allocations: 124 kB / 0.5937 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.391, allocations: 19.86 kB / 0.5937 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/0.3914, allocations: 63.64 kB / 0.5938 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.3915, allocations: 23.98 kB / 0.5938 GB, free: 15.23 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.0001061/0.3916, allocations: 200.1 kB / 0.594 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.111e-05/0.3917, allocations: 55.25 kB / 0.5941 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006477/0.3923, allocations: 246.9 kB / 0.5943 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3923, allocations: 3.938 kB / 0.5943 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3923, allocations: 0 / 0.5943 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3923, allocations: 0 / 0.5943 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.3927, allocations: 381.3 kB / 0.5947 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3927, allocations: 0 / 0.5947 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.393, allocations: 55.89 kB / 0.5947 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.393, allocations: 0 / 0.5947 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.393, allocations: 8 kB / 0.5947 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000181/0.3932, allocations: 0.5977 MB / 0.5953 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3932, allocations: 0 / 0.5953 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.3938, allocations: 358.8 kB / 0.5956 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3939, allocations: 152.3 kB / 0.5958 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.394, allocations: 0 / 0.5958 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002587/0.3943, allocations: 27.97 kB / 0.5958 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.3943, allocations: 11.98 kB / 0.5958 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3943, allocations: 4 kB / 0.5958 GB, free: 13.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004496/0.3948, allocations: 0.5263 MB / 0.5964 GB, free: 12.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3948, allocations: 3.938 kB / 0.5964 GB, free: 12.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008307/0.3956, allocations: 299.8 kB / 0.5966 GB, free: 12.22 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.001189/0.3968, allocations: 1.102 MB / 0.5977 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.3986, allocations: 0.8852 MB / 0.5986 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3986, allocations: 320 / 0.5986 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.399, allocations: 104.4 kB / 0.5987 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007656/0.3997, allocations: 212.7 kB / 0.5989 GB, free: 9.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/0.4062, allocations: 5.55 MB / 0.6043 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.4065, allocations: 0.9013 MB / 0.6052 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005362/0.407, allocations: 168.4 kB / 0.6053 GB, free: 3.105 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.4073, allocations: 207.4 kB / 0.6055 GB, free: 2.902 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4073, allocations: 0 / 0.6055 GB, free: 2.902 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.4414, allocations: 16.72 MB / 0.6219 GB, free: 2.492 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.18, allocations: 5.266 kB / 0.6219 GB, free: 2.492 MB / 462.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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)