Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.7 kB / 15.99 MB, free: 6.348 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.001438/0.001438, allocations: 195.1 kB / 16.91 MB, free: 6.188 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.324/1.324, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002369/0.002369, allocations: 286.8 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.5 MB / 0.5076 GB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 95.84 kB / 0.6066 GB, free: 9.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1589, allocations: 89.14 MB / 0.6936 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002433/0.1614, allocations: 1.329 MB / 0.6949 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.1624, allocations: 0.6073 MB / 0.6955 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1624, allocations: 4 kB / 0.6955 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1624, allocations: 4 kB / 0.6955 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.1625, allocations: 3.938 kB / 0.6955 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.163, allocations: 135.5 kB / 0.6957 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.382e-05/0.1631, allocations: 15.94 kB / 0.6957 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.1631, allocations: 4 kB / 0.6957 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.1631, allocations: 11.92 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1632, allocations: 7.938 kB / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.1632, allocations: 0 / 0.6957 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000468/0.1637, allocations: 351.3 kB / 0.696 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1637, allocations: 4 kB / 0.696 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.1637, allocations: 11.92 kB / 0.696 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1639, allocations: 96.11 kB / 0.6961 GB, free: 13.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1639, allocations: 4 kB / 0.6961 GB, free: 13.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1639, allocations: 0 / 0.6961 GB, free: 13.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1639, allocations: 0 / 0.6961 GB, free: 13.86 MB / 0.545 GB 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.0004119/0.1644, allocations: 359.4 kB / 0.6965 GB, free: 13.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1644, allocations: 8.031 kB / 0.6965 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1644, allocations: 12.84 kB / 0.6965 GB, free: 13.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.1646, allocations: 168.4 kB / 0.6967 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1646, allocations: 384 / 0.6967 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1646, allocations: 384 / 0.6967 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1647, allocations: 42.25 kB / 0.6967 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1647, allocations: 192 / 0.6967 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1648, allocations: 3.938 kB / 0.6967 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1648, allocations: 0 / 0.6967 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.227e-05/0.1648, allocations: 19.92 kB / 0.6967 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001735/0.165, allocations: 153.7 kB / 0.6969 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1652, allocations: 50.56 kB / 0.6969 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.1652, allocations: 12.86 kB / 0.6969 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1652, allocations: 4 kB / 0.6969 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.1653, allocations: 30.56 kB / 0.697 GB, free: 12.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1653, allocations: 3.938 kB / 0.697 GB, free: 12.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0005989/0.1659, allocations: 322.1 kB / 0.6973 GB, free: 12.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1659, allocations: 59.41 kB / 0.6973 GB, free: 12.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.408e-05/0.166, allocations: 89.86 kB / 0.6974 GB, free: 12.31 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.166, allocations: 29.7 kB / 0.6975 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.1661, allocations: 80.14 kB / 0.6975 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.1661, allocations: 19.7 kB / 0.6975 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1661, allocations: 21.72 kB / 0.6976 GB, free: 12.14 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1663, allocations: 322.8 kB / 0.6979 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.1663, allocations: 8 kB / 0.6979 GB, free: 11.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/0.1663, allocations: 8 kB / 0.6979 GB, free: 11.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.1664, allocations: 37 kB / 0.6979 GB, free: 11.77 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.1664, allocations: 0 / 0.6979 GB, free: 11.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001036/0.1665, allocations: 73.52 kB / 0.698 GB, free: 11.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1665, allocations: 11.92 kB / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1666, allocations: 0 / 0.698 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1666, allocations: 4.516 kB / 0.698 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.1666, allocations: 8 kB / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1666, allocations: 4 kB / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.1667, allocations: 4 kB / 0.698 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1667, allocations: 4 kB / 0.698 GB, free: 11.65 MB / 0.545 GB 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 7.171e-05/0.1667, allocations: 109.3 kB / 0.6981 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1668, allocations: 7.938 kB / 0.6981 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1669, allocations: 77.58 kB / 0.6982 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1669, allocations: 3.984 kB / 0.6982 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1669, allocations: 0 / 0.6982 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1669, allocations: 3.938 kB / 0.6982 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/0.1673, allocations: 323.5 kB / 0.6985 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1673, allocations: 0 / 0.6985 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.1674, allocations: 11.98 kB / 0.6985 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1674, allocations: 0 / 0.6985 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1674, allocations: 4 kB / 0.6985 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1674, allocations: 0 / 0.6985 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1674, allocations: 0 / 0.6985 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1676, allocations: 192.2 kB / 0.6987 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.907e-05/0.1677, allocations: 77.11 kB / 0.6988 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1677, allocations: 7.938 kB / 0.6988 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1678, allocations: 4 kB / 0.6988 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.1678, allocations: 3.984 kB / 0.6988 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1678, allocations: 4 kB / 0.6988 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.1678, allocations: 79.28 kB / 0.6989 GB, free: 10.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1678, allocations: 4.062 kB / 0.6989 GB, free: 10.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002463/0.1681, allocations: 23.94 kB / 0.6989 GB, free: 10.62 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.000185/0.1683, allocations: 119.2 kB / 0.699 GB, free: 10.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.1684, allocations: 39.92 kB / 0.6991 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1684, allocations: 0 / 0.6991 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.1684, allocations: 16 kB / 0.6991 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.1687, allocations: 9.969 kB / 0.6991 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004229/0.1691, allocations: 238 kB / 0.6993 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1694, allocations: 0.6846 MB / 0.7 GB, free: 9.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.1694, allocations: 11.44 kB / 0.7 GB, free: 9.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.1694, allocations: 0 / 0.7 GB, free: 9.449 MB / 0.545 GB Notification: Performance of Templates: time 0.00248/0.1719, allocations: 0.7921 MB / 0.7008 GB, free: 8.664 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)