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.001255/0.001255, allocations: 103.4 kB / 16.4 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.001386/0.001386, allocations: 191.9 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7098/0.7098, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.03 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1449, allocations: 76.19 MB / 0.6316 GB, free: 4.879 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004333/0.1493, allocations: 2.353 MB / 0.6339 GB, free: 2.508 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006986/0.1563, allocations: 3.804 MB / 0.6376 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1567, allocations: 8 kB / 0.6376 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.16, allocations: 1.05 MB / 0.6386 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.1611, allocations: 430.3 kB / 0.639 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.1623, allocations: 0.5263 MB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005051/0.1674, allocations: 3.363 MB / 0.6428 GB, free: 9.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1676, allocations: 36.73 kB / 0.6429 GB, free: 9.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.168, allocations: 239.2 kB / 0.6431 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003966/0.1685, allocations: 211.2 kB / 0.6433 GB, free: 8.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.1685, allocations: 16 kB / 0.6433 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.1696, allocations: 0.5771 MB / 0.6439 GB, free: 8.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.1698, allocations: 215.3 kB / 0.6441 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.1701, allocations: 262.4 kB / 0.6443 GB, free: 7.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.1716, allocations: 0.9619 MB / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1716, allocations: 0 / 0.6453 GB, free: 6.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1716, allocations: 4 kB / 0.6453 GB, free: 6.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.1716, allocations: 0 / 0.6453 GB, free: 6.809 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.001942/0.1736, allocations: 0.933 MB / 0.6462 GB, free: 5.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.1736, allocations: 8.031 kB / 0.6462 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.1737, allocations: 38.75 kB / 0.6462 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008761/0.1746, allocations: 156.1 kB / 0.6464 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.1764, allocations: 1.163 MB / 0.6475 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.1764, allocations: 11.95 kB / 0.6475 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.1764, allocations: 12 kB / 0.6475 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.1769, allocations: 173.5 kB / 0.6477 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.177, allocations: 0 / 0.6477 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.177, allocations: 0 / 0.6477 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.177, allocations: 0 / 0.6477 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006296/0.1776, allocations: 179.8 kB / 0.6479 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.1791, allocations: 0.7224 MB / 0.6486 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/0.1799, allocations: 182.6 kB / 0.6488 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1802, allocations: 80.8 kB / 0.6488 GB, free: 2.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.1802, allocations: 4 kB / 0.6488 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1803, allocations: 34.55 kB / 0.6489 GB, free: 2.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1803, allocations: 0 / 0.6489 GB, free: 2.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.001009/0.1813, allocations: 308.7 kB / 0.6492 GB, free: 2.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.1813, allocations: 51.41 kB / 0.6492 GB, free: 2.574 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009425/0.1823, allocations: 0.785 MB / 0.65 GB, free: 1.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.1823, allocations: 33.7 kB / 0.65 GB, free: 1.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.1825, allocations: 248.5 kB / 0.6503 GB, free: 1.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1826, allocations: 39.55 kB / 0.6503 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1828, allocations: 154 kB / 0.6504 GB, free: 1.293 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1829, allocations: 379.1 kB / 0.6508 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005164/0.1835, allocations: 291.3 kB / 0.6511 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.1841, allocations: 416.3 kB / 0.6515 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1851, allocations: 0.6092 MB / 0.6521 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1851, allocations: 7.938 kB / 0.6521 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001376/0.1865, allocations: 0.7969 MB / 0.6529 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1865, allocations: 4 kB / 0.6529 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.1865, allocations: 4 kB / 0.6529 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.1866, allocations: 4 kB / 0.6529 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006986/0.1873, allocations: 131.8 kB / 0.653 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005808/0.1878, allocations: 0.6329 MB / 0.6536 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.1883, allocations: 67.41 kB / 0.6537 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.1884, allocations: 24 kB / 0.6537 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006948/0.1891, allocations: 477.5 kB / 0.6542 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005775/0.1897, allocations: 404.3 kB / 0.6545 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009813/0.1907, allocations: 0.604 MB / 0.6551 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.1907, allocations: 0 / 0.6551 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001327/0.192, allocations: 0.7799 MB / 0.6559 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.192, allocations: 7.938 kB / 0.6559 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.192, allocations: 4 kB / 0.6559 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.192, allocations: 8 kB / 0.6559 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.1926, allocations: 132 kB / 0.656 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.1926, allocations: 7.938 kB / 0.656 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004416/0.193, allocations: 75.47 kB / 0.6561 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.1931, allocations: 20 kB / 0.6561 GB, free: 11.25 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.0001544/0.1932, allocations: 204.1 kB / 0.6563 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1934, allocations: 51.25 kB / 0.6564 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.1941, allocations: 242.9 kB / 0.6566 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1941, allocations: 0 / 0.6566 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1941, allocations: 3.938 kB / 0.6566 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1941, allocations: 0 / 0.6566 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.1946, allocations: 389.1 kB / 0.657 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1946, allocations: 3.938 kB / 0.657 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.1949, allocations: 51.95 kB / 0.657 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1949, allocations: 288 / 0.657 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.195, allocations: 8 kB / 0.657 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003415/0.1953, allocations: 0.5977 MB / 0.6576 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1953, allocations: 4.031 kB / 0.6576 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.196, allocations: 338.7 kB / 0.658 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.1962, allocations: 168.2 kB / 0.6581 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.1963, allocations: 0 / 0.6581 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.1966, allocations: 23.97 kB / 0.6581 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1967, allocations: 11.98 kB / 0.6582 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1967, allocations: 0 / 0.6582 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006658/0.1973, allocations: 0.5302 MB / 0.6587 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1974, allocations: 3.938 kB / 0.6587 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009426/0.1983, allocations: 299.8 kB / 0.659 GB, free: 8.23 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.00163/0.1999, allocations: 1.102 MB / 0.66 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.202, allocations: 0.8765 MB / 0.6609 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2021, allocations: 0.5625 kB / 0.6609 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.2025, allocations: 103.9 kB / 0.661 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.2034, allocations: 206.1 kB / 0.6612 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008751/0.2121, allocations: 5.504 MB / 0.6666 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.2127, allocations: 0.9013 MB / 0.6674 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005257/0.2132, allocations: 180.4 kB / 0.6676 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.2135, allocations: 215.3 kB / 0.6678 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/0.2136, allocations: 0 / 0.6678 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04226/0.2558, allocations: 17.09 MB / 0.6845 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.14, allocations: 16.31 kB / 0.6845 GB, free: 14.15 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)