Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001182/0.001182, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.001301/0.001301, allocations: 186.4 kB / 17.19 MB, free: 5.605 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.307/1.307, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7814/0.7814, allocations: 126.1 MB / 417.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.89 kB / 0.495 GB, free: 3.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3739, allocations: 78.7 MB / 0.5718 GB, free: 31.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.0023/0.3762, allocations: 1.268 MB / 0.5731 GB, free: 30.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.3771, allocations: 0.6067 MB / 0.5736 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.3771, allocations: 0 / 0.5736 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3771, allocations: 7.203 kB / 0.5737 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.847e-05/0.3772, allocations: 3.938 kB / 0.5737 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004807/0.3777, allocations: 149.9 kB / 0.5738 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.967e-05/0.3777, allocations: 20.44 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.776e-05/0.3778, allocations: 2.703 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.3778, allocations: 8.891 kB / 0.5738 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.3779, allocations: 15.88 kB / 0.5738 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3779, allocations: 1.25 kB / 0.5739 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004955/0.3784, allocations: 342.7 kB / 0.5742 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.3784, allocations: 1.797 kB / 0.5742 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.3784, allocations: 15.91 kB / 0.5742 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3787, allocations: 148.8 kB / 0.5743 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3787, allocations: 1.062 kB / 0.5743 GB, free: 29.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3787, allocations: 1.75 kB / 0.5743 GB, free: 29.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.3787, allocations: 0 / 0.5743 GB, free: 29.71 MB / 446.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.0003049/0.379, allocations: 361.8 kB / 0.5747 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3791, allocations: 11.5 kB / 0.5747 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.3791, allocations: 2.031 kB / 0.5747 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.848e-05/0.3792, allocations: 167.6 kB / 0.5749 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3792, allocations: 3 kB / 0.5749 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.695e-05/0.3792, allocations: 2.688 kB / 0.5749 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.388e-05/0.3793, allocations: 46.89 kB / 0.5749 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.3793, allocations: 1.219 kB / 0.5749 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3794, allocations: 5.828 kB / 0.5749 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3794, allocations: 1.094 kB / 0.5749 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.3794, allocations: 11.44 kB / 0.5749 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.3795, allocations: 156.2 kB / 0.5751 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.3797, allocations: 46.03 kB / 0.5751 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.3797, allocations: 21.48 kB / 0.5751 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3798, allocations: 1.062 kB / 0.5751 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.3798, allocations: 38.77 kB / 0.5752 GB, free: 28.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3798, allocations: 0 / 0.5752 GB, free: 28.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005372/0.3803, allocations: 319.2 kB / 0.5755 GB, free: 28.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.3804, allocations: 53.91 kB / 0.5755 GB, free: 28.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.188e-05/0.3804, allocations: 99.61 kB / 0.5756 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.3804, allocations: 25.7 kB / 0.5757 GB, free: 28.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.3804, allocations: 87.17 kB / 0.5757 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3805, allocations: 15.56 kB / 0.5757 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3805, allocations: 21.36 kB / 0.5758 GB, free: 28.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.3806, allocations: 318 kB / 0.5761 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.3806, allocations: 8.781 kB / 0.5761 GB, free: 27.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.3806, allocations: 12.58 kB / 0.5761 GB, free: 27.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.3807, allocations: 36.69 kB / 0.5761 GB, free: 27.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3807, allocations: 2.406 kB / 0.5761 GB, free: 27.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.786e-05/0.3808, allocations: 66.89 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3808, allocations: 6.469 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.3808, allocations: 1.188 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.3808, allocations: 1.375 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.3809, allocations: 11.31 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3809, allocations: 0.5 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.3809, allocations: 6.375 kB / 0.5762 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.3809, allocations: 1.031 kB / 0.5762 GB, free: 27.8 MB / 446.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 4.321e-05/0.381, allocations: 113.3 kB / 0.5763 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.381, allocations: 7.219 kB / 0.5763 GB, free: 27.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.3811, allocations: 73.55 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3811, allocations: 4.719 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3811, allocations: 2.094 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3811, allocations: 1 kB / 0.5764 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.3814, allocations: 317.5 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3814, allocations: 1.562 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.3814, allocations: 11.95 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3815, allocations: 2.734 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.3815, allocations: 2.172 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3815, allocations: 4 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3815, allocations: 1.562 kB / 0.5767 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3816, allocations: 186.5 kB / 0.5769 GB, free: 27.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.3817, allocations: 83.08 kB / 0.577 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3817, allocations: 5.812 kB / 0.577 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.183e-05/0.3818, allocations: 1.188 kB / 0.577 GB, free: 27.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.3818, allocations: 9.828 kB / 0.577 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3818, allocations: 6.125 kB / 0.577 GB, free: 27.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.831e-05/0.3818, allocations: 78.86 kB / 0.5771 GB, free: 26.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 1.125 kB / 0.5771 GB, free: 26.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3821, allocations: 28 kB / 0.5771 GB, free: 26.93 MB / 446.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.0001632/0.3822, allocations: 127.1 kB / 0.5772 GB, free: 26.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.3824, allocations: 37.45 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3824, allocations: 0 / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.975e-05/0.3824, allocations: 20.77 kB / 0.5773 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.3826, allocations: 6.344 kB / 0.5773 GB, free: 26.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.383, allocations: 184.4 kB / 0.5775 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.3832, allocations: 0.6819 MB / 0.5781 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3832, allocations: 13.2 kB / 0.5782 GB, free: 25.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.686e-05/0.3832, allocations: 10.94 kB / 0.5782 GB, free: 25.97 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3832, allocations: 0.9062 kB / 0.5782 GB, free: 25.97 MB / 446.1 MB Notification: Performance of Templates: time 0.002862/0.3861, allocations: 0.6546 MB / 0.5788 GB, free: 25.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)