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.0009741/0.0009742, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.0009568/0.0009568, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 286 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9183/0.9183, allocations: 169.2 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 94.47 kB / 0.5967 GB, free: 3.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.15, allocations: 86.96 MB / 0.6816 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002029/0.1521, allocations: 1.277 MB / 0.6829 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008906/0.153, allocations: 0.6033 MB / 0.6834 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.153, allocations: 4 kB / 0.6834 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.004e-05/0.1531, allocations: 3.938 kB / 0.6834 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.021e-05/0.1531, allocations: 0 / 0.6834 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005324/0.1537, allocations: 147.3 kB / 0.6836 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.582e-05/0.1537, allocations: 23.86 kB / 0.6836 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1538, allocations: 3.984 kB / 0.6836 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.182e-05/0.1538, allocations: 7.984 kB / 0.6836 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.1539, allocations: 15.88 kB / 0.6836 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.1539, allocations: 4 kB / 0.6836 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.1544, allocations: 347.3 kB / 0.684 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.1544, allocations: 0 / 0.684 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.1545, allocations: 7.938 kB / 0.684 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1547, allocations: 143.7 kB / 0.6841 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1547, allocations: 0 / 0.6841 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1547, allocations: 0 / 0.6841 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1548, allocations: 0 / 0.6841 GB, free: 9.789 MB / 0.5294 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.000414/0.1552, allocations: 363.4 kB / 0.6845 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.1552, allocations: 11.97 kB / 0.6845 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.1553, allocations: 12.92 kB / 0.6845 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.1554, allocations: 164.4 kB / 0.6846 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1554, allocations: 384 / 0.6846 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1554, allocations: 4.375 kB / 0.6846 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.408e-05/0.1555, allocations: 38.25 kB / 0.6847 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1555, allocations: 192 / 0.6847 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1555, allocations: 3.938 kB / 0.6847 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1555, allocations: 4 kB / 0.6847 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.6e-05/0.1556, allocations: 11.98 kB / 0.6847 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.1557, allocations: 161.6 kB / 0.6849 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1559, allocations: 46.55 kB / 0.6849 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.1559, allocations: 20.94 kB / 0.6849 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.156, allocations: 4 kB / 0.6849 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.156, allocations: 30.56 kB / 0.685 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.156, allocations: 0 / 0.685 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0005217/0.1565, allocations: 314.1 kB / 0.6853 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1565, allocations: 59.39 kB / 0.6853 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.554e-05/0.1566, allocations: 97.86 kB / 0.6854 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1566, allocations: 29.64 kB / 0.6854 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.1567, allocations: 80.14 kB / 0.6855 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.1567, allocations: 23.7 kB / 0.6855 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.1567, allocations: 21.66 kB / 0.6856 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.1568, allocations: 318.8 kB / 0.6859 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.1568, allocations: 11.98 kB / 0.6859 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.1569, allocations: 12 kB / 0.6859 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.1569, allocations: 28.86 kB / 0.6859 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1569, allocations: 0 / 0.6859 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.982e-05/0.157, allocations: 65.67 kB / 0.686 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.157, allocations: 7.938 kB / 0.686 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.1571, allocations: 4 kB / 0.686 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.1571, allocations: 0 / 0.686 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.1571, allocations: 15.92 kB / 0.686 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1571, allocations: 4 kB / 0.686 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.638e-05/0.1572, allocations: 0 / 0.686 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1572, allocations: 8 kB / 0.686 GB, free: 7.578 MB / 0.5294 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 5.987e-05/0.1572, allocations: 110.7 kB / 0.6861 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.1572, allocations: 7.938 kB / 0.6861 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1574, allocations: 77.7 kB / 0.6862 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1574, allocations: 3.938 kB / 0.6862 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1574, allocations: 4 kB / 0.6862 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1574, allocations: 4 kB / 0.6862 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.1577, allocations: 311.3 kB / 0.6865 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1577, allocations: 0 / 0.6865 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.1578, allocations: 15.92 kB / 0.6865 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1578, allocations: 4 kB / 0.6865 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1578, allocations: 3.938 kB / 0.6865 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1578, allocations: 0 / 0.6865 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1578, allocations: 0 / 0.6865 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.1579, allocations: 180.9 kB / 0.6867 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.158, allocations: 81.09 kB / 0.6868 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.158, allocations: 4.031 kB / 0.6868 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.969e-05/0.1581, allocations: 4 kB / 0.6868 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.61e-05/0.1581, allocations: 7.984 kB / 0.6868 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.1581, allocations: 3.938 kB / 0.6868 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.1582, allocations: 83.27 kB / 0.6869 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1582, allocations: 4.062 kB / 0.6869 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002339/0.1584, allocations: 24 kB / 0.6869 GB, free: 6.551 MB / 0.5294 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.0001515/0.1586, allocations: 123.2 kB / 0.687 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.885e-05/0.1587, allocations: 31.98 kB / 0.6871 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1587, allocations: 0 / 0.6871 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.886e-05/0.1587, allocations: 23.92 kB / 0.6871 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.1589, allocations: 10.62 kB / 0.6871 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/0.1593, allocations: 199.7 kB / 0.6873 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.1595, allocations: 0.6846 MB / 0.6879 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.1595, allocations: 8 kB / 0.6879 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.1595, allocations: 11.44 kB / 0.688 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.1595, allocations: 0 / 0.688 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of Templates: time 0.002524/0.1621, allocations: 0.6304 MB / 0.6886 GB, free: 4.809 MB / 0.5294 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)