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.001409/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001608/0.001608, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002225/0.002225, allocations: 295.5 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9415/0.9415, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 87.44 kB / 0.5945 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1569, allocations: 86.99 MB / 0.6794 GB, free: 1.176 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002684/0.1597, allocations: 1.332 MB / 0.6807 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.161, allocations: 0.6069 MB / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.903e-05/0.161, allocations: 0 / 0.6813 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.1611, allocations: 4.812 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.1611, allocations: 3.984 kB / 0.6813 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.1618, allocations: 121.6 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.282e-05/0.1619, allocations: 27.81 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.1619, allocations: 3.984 kB / 0.6815 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.162, allocations: 8.641 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.878e-05/0.162, allocations: 11.94 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1621, allocations: 4 kB / 0.6815 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007192/0.1628, allocations: 347.3 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.676e-05/0.1628, allocations: 3.984 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.1629, allocations: 7.938 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003636/0.1632, allocations: 143.9 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1633, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1633, allocations: 0 / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1633, allocations: 0 / 0.682 GB, free: 14.57 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.000616/0.1639, allocations: 359.5 kB / 0.6823 GB, free: 14.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.164, allocations: 12.03 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.164, allocations: 4.938 kB / 0.6824 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.1642, allocations: 164.3 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1642, allocations: 8.375 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.1642, allocations: 4.359 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.1643, allocations: 38.27 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.1644, allocations: 192 / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1644, allocations: 3.938 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1644, allocations: 0 / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1645, allocations: 19.92 kB / 0.6826 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004912/0.165, allocations: 256.9 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.1653, allocations: 50.62 kB / 0.6829 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/0.1653, allocations: 20.84 kB / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.1654, allocations: 0 / 0.6829 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1654, allocations: 34.56 kB / 0.6829 GB, free: 13.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1654, allocations: 4 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002172/0.1656, allocations: 57.62 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.1657, allocations: 51.41 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.1658, allocations: 101.8 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.1658, allocations: 29.7 kB / 0.6832 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1659, allocations: 88.03 kB / 0.6832 GB, free: 13.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.978e-06/0.1659, allocations: 3.906 kB / 0.6833 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.1659, allocations: 17.72 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1661, allocations: 322.8 kB / 0.6836 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.1661, allocations: 11.94 kB / 0.6836 GB, free: 12.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.022e-05/0.1661, allocations: 17.72 kB / 0.6836 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/0.1662, allocations: 37.95 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1662, allocations: 0 / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001002/0.1663, allocations: 69.45 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1663, allocations: 12.03 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1663, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1664, allocations: 0 / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.763e-05/0.1664, allocations: 8 kB / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1664, allocations: 0 / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.1665, allocations: 0 / 0.6837 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.1665, allocations: 4 kB / 0.6837 GB, free: 12.55 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 0.0001084/0.1666, allocations: 115.1 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.1666, allocations: 4 kB / 0.6838 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.1668, allocations: 69.11 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1668, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1668, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1668, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.167, allocations: 161.5 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.167, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.48e-05/0.167, allocations: 8 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.167, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.1671, allocations: 0 / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1671, allocations: 3.984 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1671, allocations: 4 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.1672, allocations: 151.4 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1673, allocations: 81.11 kB / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1673, allocations: 0 / 0.6843 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.694e-05/0.1673, allocations: 4.125 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.1674, allocations: 7.938 kB / 0.6843 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1674, allocations: 4 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.1674, allocations: 83.27 kB / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1674, allocations: 0 / 0.6844 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1677, allocations: 20 kB / 0.6844 GB, free: 11.75 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.0001822/0.1679, allocations: 127.1 kB / 0.6845 GB, free: 11.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.757e-05/0.168, allocations: 19.98 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.168, allocations: 0 / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.168, allocations: 11.94 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1682, allocations: 20.02 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.1686, allocations: 120.5 kB / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1689, allocations: 0.677 MB / 0.6854 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.169, allocations: 4 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.169, allocations: 7.438 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.169, allocations: 4 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002483/0.1715, allocations: 0.5099 MB / 0.6859 GB, free: 10.21 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)