Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001604, allocations: 110.2 kB / 16.37 MB, free: 6.012 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.001191/0.001191, allocations: 190.1 kB / 17.31 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.298/1.298, 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.002153/0.002153, allocations: 291.2 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9182/0.9182, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 91.48 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1493, allocations: 86.97 MB / 0.6816 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002398/0.1517, allocations: 1.281 MB / 0.6829 GB, free: 6.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.1527, allocations: 0.5916 MB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.1527, allocations: 0 / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1527, allocations: 0 / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.1528, allocations: 7.938 kB / 0.6834 GB, free: 5.598 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1534, allocations: 146.4 kB / 0.6836 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.1534, allocations: 27.86 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.1535, allocations: 4 kB / 0.6836 GB, free: 5.426 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.041e-05/0.1535, allocations: 8 kB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.1536, allocations: 15.92 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1536, allocations: 0 / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004847/0.1541, allocations: 347.2 kB / 0.684 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1541, allocations: 0 / 0.684 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.1541, allocations: 15.94 kB / 0.684 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1544, allocations: 143.6 kB / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1544, allocations: 0 / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1544, allocations: 0 / 0.6841 GB, free: 4.906 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.1544, allocations: 0 / 0.6841 GB, free: 4.906 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004157/0.1549, allocations: 363.5 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.1549, allocations: 12.03 kB / 0.6845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.1549, allocations: 0.9375 kB / 0.6845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.1551, allocations: 168.3 kB / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1551, allocations: 384 / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1551, allocations: 8.312 kB / 0.6846 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.1552, allocations: 42.25 kB / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1552, allocations: 192 / 0.6847 GB, free: 4.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.1552, allocations: 3.938 kB / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1552, allocations: 0 / 0.6847 GB, free: 4.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.038e-05/0.1553, allocations: 16 kB / 0.6847 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.1557, allocations: 248.9 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1559, allocations: 54.56 kB / 0.685 GB, free: 3.855 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.1559, allocations: 20.84 kB / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.156, allocations: 0 / 0.685 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.156, allocations: 38.56 kB / 0.6851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.156, allocations: 0 / 0.6851 GB, free: 3.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000187/0.1562, allocations: 53.69 kB / 0.6851 GB, free: 3.727 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.1562, allocations: 51.41 kB / 0.6852 GB, free: 3.664 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.1563, allocations: 101.8 kB / 0.6853 GB, free: 3.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1563, allocations: 29.64 kB / 0.6853 GB, free: 3.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.1564, allocations: 88.05 kB / 0.6854 GB, free: 3.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.1564, allocations: 7.906 kB / 0.6854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.1564, allocations: 21.7 kB / 0.6854 GB, free: 3.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.1566, allocations: 314.8 kB / 0.6857 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.1566, allocations: 12 kB / 0.6857 GB, free: 3.066 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.1566, allocations: 21.66 kB / 0.6857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.92e-05/0.1567, allocations: 33.7 kB / 0.6858 GB, free: 3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1567, allocations: 0 / 0.6858 GB, free: 3 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.118e-05/0.1568, allocations: 65.84 kB / 0.6858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1568, allocations: 8 kB / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1568, allocations: 0 / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1568, allocations: 0 / 0.6858 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.66e-05/0.1569, allocations: 8 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.1569, allocations: 3.938 kB / 0.6858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1569, allocations: 0 / 0.6858 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1569, allocations: 4.047 kB / 0.6858 GB, free: 2.906 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.157, allocations: 121.7 kB / 0.686 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.157, allocations: 12.02 kB / 0.686 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.1572, allocations: 57.19 kB / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1572, allocations: 0 / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1572, allocations: 0 / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1572, allocations: 0 / 0.686 GB, free: 2.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.1574, allocations: 165.5 kB / 0.6862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1574, allocations: 0 / 0.6862 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.1574, allocations: 11.98 kB / 0.6862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1574, allocations: 0 / 0.6862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1574, allocations: 0 / 0.6862 GB, free: 2.477 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1574, allocations: 4 kB / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1574, allocations: 0 / 0.6862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.1576, allocations: 155.3 kB / 0.6863 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1576, allocations: 81.11 kB / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1576, allocations: 4 kB / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.849e-05/0.1577, allocations: 0 / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1577, allocations: 3.984 kB / 0.6864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.1577, allocations: 4 kB / 0.6864 GB, free: 2.195 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.893e-05/0.1577, allocations: 79.28 kB / 0.6865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1578, allocations: 0 / 0.6865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.158, allocations: 20 kB / 0.6865 GB, free: 2.098 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/0.1582, allocations: 119.2 kB / 0.6866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.299e-05/0.1583, allocations: 27.86 kB / 0.6867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1583, allocations: 0 / 0.6867 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.918e-05/0.1583, allocations: 8 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.1585, allocations: 23.92 kB / 0.6867 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.1588, allocations: 118.7 kB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.1591, allocations: 0.6767 MB / 0.6875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.916e-05/0.1591, allocations: 3.984 kB / 0.6875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1591, allocations: 11.44 kB / 0.6875 GB, free: 1.051 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1591, allocations: 4 kB / 0.6875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of Templates: time 0.002546/0.1617, allocations: 0.5107 MB / 0.688 GB, free: 0.5469 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)