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.001435/0.001435, allocations: 108.5 kB / 16.41 MB, free: 6.027 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.001678/0.001678, allocations: 190.3 kB / 17.34 MB, free: 5.633 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 65.59 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1445, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004007/0.1486, allocations: 2.359 MB / 0.6339 GB, free: 2.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006029/0.1547, allocations: 3.8 MB / 0.6376 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.155, allocations: 11.94 kB / 0.6376 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.158, allocations: 1.051 MB / 0.6386 GB, free: 13.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009872/0.159, allocations: 432.4 kB / 0.639 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.1602, allocations: 0.5185 MB / 0.6396 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004865/0.1651, allocations: 3.363 MB / 0.6428 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.1652, allocations: 48.72 kB / 0.6429 GB, free: 9.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004277/0.1657, allocations: 231.2 kB / 0.6431 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.166, allocations: 207.2 kB / 0.6433 GB, free: 8.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.799e-05/0.1661, allocations: 24 kB / 0.6433 GB, free: 8.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009705/0.1671, allocations: 0.581 MB / 0.6439 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.1673, allocations: 211.4 kB / 0.6441 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.1677, allocations: 254.5 kB / 0.6443 GB, free: 7.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1691, allocations: 0.9658 MB / 0.6453 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1692, allocations: 0 / 0.6453 GB, free: 6.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1692, allocations: 0 / 0.6453 GB, free: 6.852 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1692, allocations: 4 kB / 0.6453 GB, free: 6.848 MB / 494.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.001854/0.171, allocations: 0.9329 MB / 0.6462 GB, free: 5.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1711, allocations: 16.02 kB / 0.6462 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.1712, allocations: 34.75 kB / 0.6462 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/0.172, allocations: 156.1 kB / 0.6464 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.1739, allocations: 1.155 MB / 0.6475 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.1739, allocations: 15.89 kB / 0.6475 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.174, allocations: 12 kB / 0.6475 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.1745, allocations: 171.4 kB / 0.6477 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1745, allocations: 4 kB / 0.6477 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.1745, allocations: 8 kB / 0.6477 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1745, allocations: 0 / 0.6477 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005894/0.1751, allocations: 171.8 kB / 0.6479 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1768, allocations: 0.7262 MB / 0.6486 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008088/0.1776, allocations: 182.6 kB / 0.6488 GB, free: 3.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.1779, allocations: 80.8 kB / 0.6488 GB, free: 3.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1779, allocations: 7.922 kB / 0.6489 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.178, allocations: 34.56 kB / 0.6489 GB, free: 2.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.178, allocations: 0 / 0.6489 GB, free: 2.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009221/0.1789, allocations: 308.7 kB / 0.6492 GB, free: 2.668 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.1789, allocations: 55.41 kB / 0.6492 GB, free: 2.602 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.1801, allocations: 0.785 MB / 0.65 GB, free: 1.809 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1802, allocations: 33.69 kB / 0.65 GB, free: 1.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.1805, allocations: 244.5 kB / 0.6503 GB, free: 1.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.1805, allocations: 39.55 kB / 0.6503 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.1808, allocations: 154 kB / 0.6505 GB, free: 1.324 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.181, allocations: 378.7 kB / 0.6508 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005217/0.1815, allocations: 295.4 kB / 0.6511 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.1821, allocations: 416.3 kB / 0.6515 GB, free: 216 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.1831, allocations: 0.6053 MB / 0.6521 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1831, allocations: 0 / 0.6521 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001394/0.1845, allocations: 0.8005 MB / 0.6529 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1845, allocations: 8 kB / 0.6529 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1845, allocations: 4.344 kB / 0.6529 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.1845, allocations: 11.98 kB / 0.6529 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006908/0.1852, allocations: 127.8 kB / 0.653 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006069/0.1859, allocations: 0.625 MB / 0.6536 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.1863, allocations: 75.5 kB / 0.6537 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.1864, allocations: 24 kB / 0.6537 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006686/0.187, allocations: 469.5 kB / 0.6542 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005661/0.1876, allocations: 416.3 kB / 0.6546 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001142/0.1888, allocations: 0.6002 MB / 0.6551 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.1888, allocations: 0 / 0.6551 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001371/0.1902, allocations: 0.7726 MB / 0.6559 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1902, allocations: 11.94 kB / 0.6559 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1902, allocations: 4 kB / 0.6559 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.1902, allocations: 4 kB / 0.6559 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005112/0.1907, allocations: 127.9 kB / 0.656 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.1908, allocations: 11.94 kB / 0.6561 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/0.1912, allocations: 67.72 kB / 0.6561 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.1913, allocations: 23.98 kB / 0.6561 GB, free: 11.29 MB / 0.4981 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.0002578/0.1915, allocations: 201.3 kB / 0.6563 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.1917, allocations: 55.25 kB / 0.6564 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.1925, allocations: 246.9 kB / 0.6566 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.1925, allocations: 4 kB / 0.6566 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.1925, allocations: 3.938 kB / 0.6566 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1925, allocations: 3.984 kB / 0.6566 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009054/0.1934, allocations: 381.1 kB / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1934, allocations: 0 / 0.657 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.1937, allocations: 55.95 kB / 0.657 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1938, allocations: 4 kB / 0.6571 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1938, allocations: 0 / 0.6571 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000475/0.1943, allocations: 0.6054 MB / 0.6576 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1943, allocations: 0 / 0.6576 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.1949, allocations: 334.8 kB / 0.658 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.1951, allocations: 164.2 kB / 0.6581 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.1952, allocations: 8 kB / 0.6581 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.1955, allocations: 23.97 kB / 0.6581 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.1956, allocations: 4 kB / 0.6582 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.361e-05/0.1956, allocations: 7.984 kB / 0.6582 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007239/0.1963, allocations: 0.5185 MB / 0.6587 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1963, allocations: 0 / 0.6587 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000969/0.1973, allocations: 308 kB / 0.659 GB, free: 8.273 MB / 0.4981 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.001776/0.1991, allocations: 1.114 MB / 0.66 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.2014, allocations: 0.8761 MB / 0.6609 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2014, allocations: 0 / 0.6609 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.2017, allocations: 100.4 kB / 0.661 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009553/0.2027, allocations: 198.6 kB / 0.6612 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.2119, allocations: 5.518 MB / 0.6666 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006/0.2125, allocations: 0.9052 MB / 0.6675 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005312/0.2131, allocations: 168.4 kB / 0.6676 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.2134, allocations: 211.3 kB / 0.6678 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.2134, allocations: 0 / 0.6678 GB, free: 15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.256, allocations: 16.87 MB / 0.6843 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.34, allocations: 15.69 kB / 0.6843 GB, free: 14.41 MB / 0.5294 GB (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)