Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 116.8 kB / 16.37 MB, free: 6.016 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.001076/0.001076, allocations: 192.6 kB / 17.3 MB, free: 5.613 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002006/0.002006, allocations: 283.8 kB / 291.4 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8867/0.8867, allocations: 169.3 MB / 0.4989 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001656, allocations: 99.03 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1559, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002031/0.1579, allocations: 1.235 MB / 0.6828 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.1588, allocations: 0.5955 MB / 0.6834 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.1588, allocations: 4 kB / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.45e-05/0.1588, allocations: 0 / 0.6834 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.317e-05/0.1589, allocations: 4 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1593, allocations: 135.4 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.905e-05/0.1593, allocations: 11.94 kB / 0.6836 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.1594, allocations: 0 / 0.6836 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.1594, allocations: 11.92 kB / 0.6836 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.1594, allocations: 7.984 kB / 0.6836 GB, free: 5.453 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.1595, allocations: 4 kB / 0.6836 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.1599, allocations: 331.3 kB / 0.6839 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.1599, allocations: 7.984 kB / 0.6839 GB, free: 5.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.16, allocations: 15.92 kB / 0.6839 GB, free: 5.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1602, allocations: 131.7 kB / 0.684 GB, free: 4.973 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1602, allocations: 4 kB / 0.684 GB, free: 4.969 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1602, allocations: 3.938 kB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1602, allocations: 0 / 0.684 GB, free: 4.965 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003073/0.1605, allocations: 347.5 kB / 0.6844 GB, free: 4.574 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.1605, allocations: 8.031 kB / 0.6844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.1606, allocations: 0.9375 kB / 0.6844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.1607, allocations: 168.4 kB / 0.6845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.1607, allocations: 8.312 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.1607, allocations: 384 / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.082e-05/0.1608, allocations: 34.25 kB / 0.6846 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.1608, allocations: 192 / 0.6846 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-06/0.1608, allocations: 3.938 kB / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.1608, allocations: 0 / 0.6846 GB, free: 4.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/0.1608, allocations: 7.938 kB / 0.6846 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.161, allocations: 153.7 kB / 0.6847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.161, allocations: 22.58 kB / 0.6848 GB, free: 4.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.682e-05/0.161, allocations: 12.92 kB / 0.6848 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.161, allocations: 3.984 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.1611, allocations: 34.56 kB / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1611, allocations: 0 / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001137/0.1612, allocations: 53.47 kB / 0.6849 GB, free: 3.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.1612, allocations: 59.53 kB / 0.6849 GB, free: 3.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.197e-05/0.1613, allocations: 89.86 kB / 0.685 GB, free: 3.785 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1613, allocations: 25.7 kB / 0.685 GB, free: 3.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.349e-05/0.1613, allocations: 80.14 kB / 0.6851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.1614, allocations: 4 kB / 0.6851 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.1614, allocations: 17.7 kB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.233e-05/0.1615, allocations: 314.8 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.1615, allocations: 128 / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.1615, allocations: 8 kB / 0.6854 GB, free: 3.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.717e-05/0.1615, allocations: 12.86 kB / 0.6855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1615, allocations: 0 / 0.6855 GB, free: 3.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.34e-05/0.1616, allocations: 45.53 kB / 0.6855 GB, free: 3.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.1616, allocations: 4 kB / 0.6855 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1616, allocations: 3.938 kB / 0.6855 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1617, allocations: 4 kB / 0.6855 GB, free: 3.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.1618, allocations: 8 kB / 0.6855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/0.1621, allocations: 0.59 MB / 0.6861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.653e-05/0.1621, allocations: 0 / 0.6861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.1621, allocations: 0 / 0.6861 GB, free: 2.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * 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 prepare postOptimizeDAE: time 6.846e-05/0.1622, allocations: 112 kB / 0.6862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-06/0.1622, allocations: 7.969 kB / 0.6862 GB, free: 2.496 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.1623, allocations: 52.84 kB / 0.6863 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1623, allocations: 3.938 kB / 0.6863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1623, allocations: 0 / 0.6863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1624, allocations: 0 / 0.6863 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.794e-05/0.1625, allocations: 157.6 kB / 0.6864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1625, allocations: 0 / 0.6864 GB, free: 2.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.1625, allocations: 8 kB / 0.6864 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1625, allocations: 0 / 0.6864 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1626, allocations: 0 / 0.6864 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002729/0.1628, allocations: 0.586 MB / 0.687 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.1629, allocations: 7.922 kB / 0.687 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.338e-05/0.1629, allocations: 65.08 kB / 0.6871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.163, allocations: 81.05 kB / 0.6871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.163, allocations: 0 / 0.6871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.61e-05/0.163, allocations: 4.109 kB / 0.6871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.491e-05/0.163, allocations: 7.938 kB / 0.6871 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.163, allocations: 4 kB / 0.6872 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.831e-05/0.1631, allocations: 79.28 kB / 0.6872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1631, allocations: 0 / 0.6872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.1633, allocations: 8 kB / 0.6872 GB, free: 1.324 MB / 494.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 (2): * Single equations (assignments): 1 * 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.0001456/0.1634, allocations: 115.2 kB / 0.6873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1636, allocations: 20.08 kB / 0.6874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1636, allocations: 0 / 0.6874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.1637, allocations: 19.98 kB / 0.6874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.1638, allocations: 2.031 kB / 0.6874 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.1641, allocations: 100.2 kB / 0.6875 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.1643, allocations: 0.6729 MB / 0.6881 GB, free: 352 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.1643, allocations: 12.06 kB / 0.6881 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.148e-05/0.1643, allocations: 11.38 kB / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1643, allocations: 0 / 0.6882 GB, free: 328 kB / 494.1 MB Notification: Performance of Templates: time 0.2364/0.4008, allocations: 455.5 kB / 0.6886 GB, free: 17.75 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)