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.001234/0.001234, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001238/0.001238, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.246/1.246, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 293.7 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.907/0.907, allocations: 169.3 MB / 0.4988 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 90.67 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.152, allocations: 86.98 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002343/0.1544, allocations: 1.278 MB / 0.6821 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.1553, allocations: 0.5916 MB / 0.6827 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.1553, allocations: 0 / 0.6827 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1554, allocations: 0 / 0.6827 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.1555, allocations: 3.938 kB / 0.6827 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.156, allocations: 155.3 kB / 0.6828 GB, free: 6.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.156, allocations: 15.94 kB / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1561, allocations: 0 / 0.6828 GB, free: 6.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.1561, allocations: 15.92 kB / 0.6828 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.482e-05/0.1562, allocations: 8 kB / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.1562, allocations: 0 / 0.6829 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1567, allocations: 343.3 kB / 0.6832 GB, free: 5.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1567, allocations: 15.92 kB / 0.6832 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.1567, allocations: 4 kB / 0.6832 GB, free: 5.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.157, allocations: 147.9 kB / 0.6833 GB, free: 5.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.157, allocations: 0 / 0.6833 GB, free: 5.594 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.157, allocations: 0 / 0.6833 GB, free: 5.594 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.157, allocations: 0 / 0.6833 GB, free: 5.594 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.0003876/0.1574, allocations: 363.4 kB / 0.6837 GB, free: 5.188 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1574, allocations: 8.031 kB / 0.6837 GB, free: 5.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1575, allocations: 8.875 kB / 0.6837 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1576, allocations: 164.3 kB / 0.6839 GB, free: 4.973 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1576, allocations: 4.375 kB / 0.6839 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1576, allocations: 4.375 kB / 0.6839 GB, free: 4.965 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.1577, allocations: 46.19 kB / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1577, allocations: 192 / 0.6839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1577, allocations: 7.938 kB / 0.6839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1577, allocations: 0 / 0.6839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.1578, allocations: 15.98 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.1581, allocations: 252.9 kB / 0.6842 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.1583, allocations: 50.56 kB / 0.6842 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.485e-05/0.1583, allocations: 20.8 kB / 0.6842 GB, free: 4.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1584, allocations: 3.984 kB / 0.6843 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.1584, allocations: 34.56 kB / 0.6843 GB, free: 4.465 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1584, allocations: 4 kB / 0.6843 GB, free: 4.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.1586, allocations: 53.69 kB / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1586, allocations: 51.41 kB / 0.6844 GB, free: 4.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.829e-05/0.1587, allocations: 98.03 kB / 0.6845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1587, allocations: 25.7 kB / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.241e-05/0.1587, allocations: 96.03 kB / 0.6846 GB, free: 4.105 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.1588, allocations: 3.906 kB / 0.6846 GB, free: 4.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.1588, allocations: 21.72 kB / 0.6846 GB, free: 4.074 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.1589, allocations: 314.8 kB / 0.6849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.284e-05/0.1589, allocations: 11.98 kB / 0.6849 GB, free: 3.746 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.583e-05/0.159, allocations: 17.72 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.159, allocations: 29.72 kB / 0.685 GB, free: 3.688 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.159, allocations: 0 / 0.685 GB, free: 3.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.056e-05/0.1591, allocations: 73.41 kB / 0.685 GB, free: 3.609 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1591, allocations: 8 kB / 0.6851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.1591, allocations: 3.984 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1592, allocations: 0 / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.1592, allocations: 8 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1592, allocations: 0 / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.321e-05/0.1593, allocations: 0 / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.1593, allocations: 4 kB / 0.6851 GB, free: 3.586 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 5.983e-05/0.1593, allocations: 109.8 kB / 0.6852 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1594, allocations: 11.97 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.1595, allocations: 65.11 kB / 0.6852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1595, allocations: 4 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1595, allocations: 0 / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1595, allocations: 0 / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.1597, allocations: 161.5 kB / 0.6854 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1597, allocations: 0 / 0.6854 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.1597, allocations: 8 kB / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1597, allocations: 128 / 0.6854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.1597, allocations: 8 kB / 0.6854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1597, allocations: 0 / 0.6854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1597, allocations: 0 / 0.6854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1598, allocations: 159.3 kB / 0.6856 GB, free: 2.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.1599, allocations: 77.11 kB / 0.6856 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.1599, allocations: 4 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.825e-05/0.16, allocations: 0 / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.16, allocations: 0 / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.16, allocations: 4 kB / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.806e-05/0.16, allocations: 83.28 kB / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.16, allocations: 0 / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1603, allocations: 23.98 kB / 0.6858 GB, free: 2.777 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.0001616/0.1604, allocations: 115.2 kB / 0.6859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.349e-05/0.1605, allocations: 28.39 kB / 0.6859 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1605, allocations: 3.938 kB / 0.6859 GB, free: 2.621 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.1606, allocations: 12 kB / 0.6859 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.1608, allocations: 17.66 kB / 0.6859 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.1611, allocations: 143.6 kB / 0.6861 GB, free: 2.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.1613, allocations: 0.6807 MB / 0.6867 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1613, allocations: 7.438 kB / 0.6867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1613, allocations: 0 / 0.6867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of Templates: time 0.002037/0.1634, allocations: 0.709 MB / 0.6874 GB, free: 1.008 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)