Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009166, allocations: 98.27 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.006643/0.006643, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001684/0.001684, allocations: 274.1 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9328/0.9328, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 11.91 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1595, allocations: 88.55 MB / 0.6851 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001295/0.1608, allocations: 0.9979 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009843/0.1618, allocations: 0.614 MB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.1618, allocations: 4.594 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1618, allocations: 1.938 kB / 0.6867 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.645e-05/0.1619, allocations: 7.922 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.1623, allocations: 122.5 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.1624, allocations: 12.91 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.1624, allocations: 4 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.1625, allocations: 15.92 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.174e-05/0.1625, allocations: 4.547 kB / 0.6869 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1625, allocations: 6.219 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.163, allocations: 347.2 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.094e-05/0.163, allocations: 3.938 kB / 0.6872 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.1631, allocations: 33.7 kB / 0.6872 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1633, allocations: 151.9 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1634, allocations: 0 / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1634, allocations: 0.5 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1634, allocations: 0 / 0.6874 GB, free: 12.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003519/0.1637, allocations: 358.4 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1638, allocations: 8.031 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.1638, allocations: 4.938 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1639, allocations: 168.3 kB / 0.6879 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.1639, allocations: 4.312 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.164, allocations: 4.375 kB / 0.6879 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.64e-05/0.1641, allocations: 39 kB / 0.688 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.1641, allocations: 4.844 kB / 0.688 GB, free: 12.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1641, allocations: 7.922 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1641, allocations: 1.406 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.1641, allocations: 8 kB / 0.688 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1643, allocations: 161.7 kB / 0.6881 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1645, allocations: 45.8 kB / 0.6882 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.1645, allocations: 20.94 kB / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1645, allocations: 0 / 0.6882 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1646, allocations: 34.56 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.1646, allocations: 0.7812 kB / 0.6882 GB, free: 11.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005507/0.1651, allocations: 311.7 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1652, allocations: 51.41 kB / 0.6886 GB, free: 11.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.694e-05/0.1652, allocations: 101.8 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.1653, allocations: 26.58 kB / 0.6887 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.1653, allocations: 80.14 kB / 0.6888 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1653, allocations: 24.39 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.1654, allocations: 9.719 kB / 0.6888 GB, free: 11.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.1655, allocations: 319.6 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.1655, allocations: 9.281 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.1655, allocations: 15.92 kB / 0.6891 GB, free: 10.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.1656, allocations: 32.86 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1656, allocations: 4 kB / 0.6892 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.885e-05/0.1657, allocations: 65.67 kB / 0.6892 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1657, allocations: 9.812 kB / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1657, allocations: 240 / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1657, allocations: 0 / 0.6892 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.037e-05/0.1658, allocations: 19.98 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1658, allocations: 3.984 kB / 0.6893 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.1658, allocations: 3.938 kB / 0.6893 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.1658, allocations: 3.938 kB / 0.6893 GB, free: 10.55 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 (7): * Single equations (assignments): 7 * 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 6.692e-05/0.1659, allocations: 118.4 kB / 0.6894 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.269e-05/0.1659, allocations: 11.84 kB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.1661, allocations: 73.72 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1661, allocations: 3.984 kB / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1661, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1661, allocations: 0 / 0.6895 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1664, allocations: 311.4 kB / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1664, allocations: 0 / 0.6898 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.928e-05/0.1665, allocations: 16.03 kB / 0.6898 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1665, allocations: 0.5156 kB / 0.6898 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1665, allocations: 0 / 0.6898 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.1665, allocations: 7.984 kB / 0.6898 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1665, allocations: 7.875 kB / 0.6898 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.1667, allocations: 172.3 kB / 0.69 GB, free: 9.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.1667, allocations: 93.03 kB / 0.69 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.1667, allocations: 4.062 kB / 0.6901 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1668, allocations: 3.984 kB / 0.6901 GB, free: 9.633 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.1668, allocations: 4 kB / 0.6901 GB, free: 9.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-06/0.1669, allocations: 4 kB / 0.6901 GB, free: 9.625 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.078e-05/0.1669, allocations: 83.27 kB / 0.6901 GB, free: 9.543 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1669, allocations: 0 / 0.6901 GB, free: 9.543 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1671, allocations: 20 kB / 0.6902 GB, free: 9.523 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001598/0.1673, allocations: 123.1 kB / 0.6903 GB, free: 9.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.1674, allocations: 35.98 kB / 0.6903 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1674, allocations: 0 / 0.6903 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.1674, allocations: 19.94 kB / 0.6903 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1677, allocations: 8.688 kB / 0.6903 GB, free: 9.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.168, allocations: 229.8 kB / 0.6906 GB, free: 9.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1683, allocations: 0.677 MB / 0.6912 GB, free: 8.371 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1683, allocations: 4 kB / 0.6912 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.1683, allocations: 15.44 kB / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1683, allocations: 0 / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of Templates: time 0.002607/0.1709, allocations: 0.6344 MB / 0.6919 GB, free: 7.758 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)