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.00097/0.00097, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00795/0.00795, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001727/0.001727, allocations: 266.3 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9619/0.9619, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 11.25 kB / 0.5987 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1513, allocations: 88.55 MB / 0.6851 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001454/0.1528, allocations: 0.9979 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1539, allocations: 0.6028 MB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.1539, allocations: 1.469 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1539, allocations: 0 / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.388e-05/0.154, allocations: 7.922 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004238/0.1544, allocations: 116.8 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.83e-05/0.1545, allocations: 19.92 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.1545, allocations: 8.516 kB / 0.6868 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.1546, allocations: 10.47 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.951e-05/0.1546, allocations: 7.984 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1546, allocations: 0 / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004625/0.1551, allocations: 343.3 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.1551, allocations: 11.94 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1552, allocations: 33.64 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1554, allocations: 144 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1554, allocations: 0.5312 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1554, allocations: 1.219 kB / 0.6874 GB, free: 12.74 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1554, allocations: 0 / 0.6874 GB, free: 12.74 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.000399/0.1558, allocations: 355.9 kB / 0.6877 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1559, allocations: 13.25 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.1559, allocations: 0.9375 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.156, allocations: 168.3 kB / 0.6879 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.156, allocations: 6.625 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1561, allocations: 384 / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1562, allocations: 46.19 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.1562, allocations: 192 / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1562, allocations: 7.938 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1562, allocations: 0.6562 kB / 0.6879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.532e-05/0.1563, allocations: 15.94 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.1566, allocations: 260.6 kB / 0.6882 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1568, allocations: 46.56 kB / 0.6883 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.1569, allocations: 20.84 kB / 0.6883 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.1569, allocations: 7.938 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1569, allocations: 35.22 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1569, allocations: 0.6562 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001664/0.1571, allocations: 49.69 kB / 0.6884 GB, free: 11.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1572, allocations: 56.03 kB / 0.6884 GB, free: 11.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.13e-05/0.1572, allocations: 102.8 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1573, allocations: 26.33 kB / 0.6885 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.1573, allocations: 86.02 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1573, allocations: 7.906 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1574, allocations: 13.72 kB / 0.6886 GB, free: 11.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1575, allocations: 314.8 kB / 0.6889 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.1575, allocations: 8 kB / 0.6889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.1575, allocations: 25.66 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.1576, allocations: 33.88 kB / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1576, allocations: 0 / 0.689 GB, free: 10.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001139/0.1577, allocations: 69.47 kB / 0.6891 GB, free: 10.78 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1577, allocations: 5.875 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1578, allocations: 0 / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1578, allocations: 4 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.1578, allocations: 8.031 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1578, allocations: 7.938 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.135e-05/0.1579, allocations: 0 / 0.6891 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1579, allocations: 0 / 0.6891 GB, free: 10.75 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 8.041e-05/0.158, allocations: 119.1 kB / 0.6892 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.158, allocations: 3.984 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.1581, allocations: 61.12 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1582, allocations: 0 / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1582, allocations: 4 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1582, allocations: 3.938 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.1583, allocations: 165.5 kB / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1583, allocations: 0 / 0.6894 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.1584, allocations: 4 kB / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1584, allocations: 0 / 0.6894 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.1584, allocations: 7.984 kB / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1584, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1584, allocations: 0 / 0.6894 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1585, allocations: 159.3 kB / 0.6896 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.583e-05/0.1586, allocations: 77.11 kB / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.1586, allocations: 0 / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.1586, allocations: 0 / 0.6897 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.1587, allocations: 8 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1587, allocations: 4.125 kB / 0.6897 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.166e-05/0.1587, allocations: 83.27 kB / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1587, allocations: 0 / 0.6898 GB, free: 9.965 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.1589, allocations: 16 kB / 0.6898 GB, free: 9.949 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.0001768/0.1591, allocations: 119.2 kB / 0.6899 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.1592, allocations: 31.92 kB / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1592, allocations: 0 / 0.6899 GB, free: 9.789 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.1593, allocations: 8 kB / 0.6899 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.1595, allocations: 10.52 kB / 0.6899 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.1598, allocations: 141.1 kB / 0.6901 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.16, allocations: 0.6731 MB / 0.6907 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.1601, allocations: 4 kB / 0.6907 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.037e-05/0.1601, allocations: 15.42 kB / 0.6908 GB, free: 8.891 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1601, allocations: 0 / 0.6908 GB, free: 8.891 MB / 494.1 MB Notification: Performance of Templates: time 0.002457/0.1626, allocations: 0.4973 MB / 0.6912 GB, free: 8.402 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)