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.001073/0.001073, allocations: 103.5 kB / 16.27 MB, free: 5.93 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.001152/0.001152, allocations: 188.5 kB / 17.2 MB, free: 5.574 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 67.89 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3803, allocations: 77.92 MB / 0.5673 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003332/0.3837, allocations: 2.35 MB / 0.5696 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005195/0.3889, allocations: 3.795 MB / 0.5733 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003136/0.3892, allocations: 6.531 kB / 0.5733 GB, free: 28.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006846/0.3961, allocations: 3.208 MB / 0.5764 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.3972, allocations: 410.1 kB / 0.5768 GB, free: 27.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.3984, allocations: 0.5094 MB / 0.5773 GB, free: 27.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.4029, allocations: 3.296 MB / 0.5805 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4031, allocations: 50.47 kB / 0.5806 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002443/0.4033, allocations: 206.4 kB / 0.5808 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.4036, allocations: 208.7 kB / 0.581 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.4036, allocations: 17.78 kB / 0.581 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008968/0.4046, allocations: 0.5696 MB / 0.5816 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.4047, allocations: 207.5 kB / 0.5818 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.4049, allocations: 264 kB / 0.582 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009135/0.4058, allocations: 0.9346 MB / 0.5829 GB, free: 24.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4059, allocations: 2.719 kB / 0.5829 GB, free: 24.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4059, allocations: 0 / 0.5829 GB, free: 24.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.4059, allocations: 0 / 0.5829 GB, free: 24.27 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.001291/0.4072, allocations: 0.9327 MB / 0.5838 GB, free: 23.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4072, allocations: 10.47 kB / 0.5838 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.4073, allocations: 37.84 kB / 0.5839 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/0.4082, allocations: 154.5 kB / 0.584 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.4094, allocations: 1.146 MB / 0.5851 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.229e-05/0.4095, allocations: 13.75 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.4095, allocations: 12.81 kB / 0.5852 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.41, allocations: 179.8 kB / 0.5853 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.41, allocations: 0 / 0.5853 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.4101, allocations: 5.312 kB / 0.5853 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.4101, allocations: 1.25 kB / 0.5853 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006416/0.4107, allocations: 176 kB / 0.5855 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4119, allocations: 0.7299 MB / 0.5862 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.4127, allocations: 184.2 kB / 0.5864 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.413, allocations: 88.8 kB / 0.5865 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.413, allocations: 2.312 kB / 0.5865 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.4131, allocations: 31.81 kB / 0.5865 GB, free: 21.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4131, allocations: 0 / 0.5865 GB, free: 21.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001048/0.4141, allocations: 313.9 kB / 0.5868 GB, free: 21.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.4142, allocations: 52.44 kB / 0.5869 GB, free: 21.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.415, allocations: 0.7801 MB / 0.5876 GB, free: 21.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.415, allocations: 31.02 kB / 0.5877 GB, free: 20.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.4152, allocations: 249.8 kB / 0.5879 GB, free: 20.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.4152, allocations: 36.62 kB / 0.5879 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4154, allocations: 160.3 kB / 0.5881 GB, free: 20.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.884e-05/0.4155, allocations: 376.2 kB / 0.5884 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/0.416, allocations: 299.5 kB / 0.5887 GB, free: 20.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.4167, allocations: 418.6 kB / 0.5891 GB, free: 19.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.4176, allocations: 0.6191 MB / 0.5897 GB, free: 19.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4176, allocations: 3.984 kB / 0.5897 GB, free: 19.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001213/0.4188, allocations: 0.7931 MB / 0.5905 GB, free: 18.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4188, allocations: 10.03 kB / 0.5905 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4188, allocations: 4 kB / 0.5905 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4189, allocations: 4 kB / 0.5905 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.4197, allocations: 135.8 kB / 0.5907 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004077/0.4202, allocations: 0.625 MB / 0.5913 GB, free: 17.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.4206, allocations: 71.41 kB / 0.5913 GB, free: 17.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.4207, allocations: 28 kB / 0.5914 GB, free: 17.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005731/0.4213, allocations: 481.5 kB / 0.5918 GB, free: 17.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004556/0.4217, allocations: 408.3 kB / 0.5922 GB, free: 16.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008059/0.4225, allocations: 0.6002 MB / 0.5928 GB, free: 16.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.4226, allocations: 8 kB / 0.5928 GB, free: 16.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001094/0.4237, allocations: 0.7807 MB / 0.5936 GB, free: 15.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.4237, allocations: 8 kB / 0.5936 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4237, allocations: 4 kB / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.648e-06/0.4237, allocations: 4 kB / 0.5936 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004974/0.4242, allocations: 135.9 kB / 0.5937 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4242, allocations: 11.92 kB / 0.5937 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.4246, allocations: 55.66 kB / 0.5938 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/0.4246, allocations: 23.98 kB / 0.5938 GB, free: 15.1 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 8.8e-05/0.4247, allocations: 212.1 kB / 0.594 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.4248, allocations: 51.25 kB / 0.5941 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.4255, allocations: 246.9 kB / 0.5943 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4255, allocations: 3.938 kB / 0.5943 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4255, allocations: 0 / 0.5943 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4255, allocations: 288 / 0.5943 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003333/0.4258, allocations: 385.3 kB / 0.5947 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4259, allocations: 4 kB / 0.5947 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.4262, allocations: 55.89 kB / 0.5947 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4262, allocations: 4 kB / 0.5947 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.4262, allocations: 0 / 0.5947 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001876/0.4264, allocations: 0.6093 MB / 0.5953 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4264, allocations: 0 / 0.5953 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.427, allocations: 342.7 kB / 0.5956 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.4271, allocations: 152.3 kB / 0.5958 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.4272, allocations: 4 kB / 0.5958 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.4275, allocations: 23.97 kB / 0.5958 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.4275, allocations: 11.98 kB / 0.5958 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.4276, allocations: 4 kB / 0.5958 GB, free: 12.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004554/0.428, allocations: 0.5224 MB / 0.5963 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.428, allocations: 3.938 kB / 0.5963 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.4289, allocations: 303.8 kB / 0.5966 GB, free: 12.07 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.001249/0.4301, allocations: 1.106 MB / 0.5977 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.432, allocations: 0.8855 MB / 0.5986 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.432, allocations: 192 / 0.5986 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003562/0.4324, allocations: 107.8 kB / 0.5987 GB, free: 9.945 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000787/0.4332, allocations: 200.5 kB / 0.5989 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.4398, allocations: 5.553 MB / 0.6043 GB, free: 4.055 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4401, allocations: 0.8974 MB / 0.6052 GB, free: 3.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005346/0.4407, allocations: 180.3 kB / 0.6053 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4409, allocations: 207.4 kB / 0.6055 GB, free: 2.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4409, allocations: 0 / 0.6055 GB, free: 2.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.475, allocations: 16.71 MB / 0.6219 GB, free: 2.352 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.24, allocations: 11.05 kB / 0.6219 GB, free: 2.344 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_NegativePressureOrFlow.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)