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.00113/0.00113, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 185.5 kB / 16.92 MB, free: 6.754 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7319/0.7319, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003646, allocations: 12 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4587, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001644/0.4604, allocations: 0.9973 MB / 0.5717 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.4615, allocations: 0.6107 MB / 0.5723 GB, free: 9.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.4616, allocations: 4 kB / 0.5723 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.4616, allocations: 0.6562 kB / 0.5723 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.4616, allocations: 7.156 kB / 0.5723 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.4621, allocations: 120.9 kB / 0.5724 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.889e-05/0.4622, allocations: 24.81 kB / 0.5725 GB, free: 9.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.4622, allocations: 6.141 kB / 0.5725 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.4623, allocations: 6.781 kB / 0.5725 GB, free: 9.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.014e-05/0.4623, allocations: 13.06 kB / 0.5725 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4623, allocations: 5.906 kB / 0.5725 GB, free: 9.688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.4629, allocations: 346.4 kB / 0.5728 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.4629, allocations: 1.5 kB / 0.5728 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.4629, allocations: 37.83 kB / 0.5729 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4632, allocations: 148.5 kB / 0.573 GB, free: 9.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4632, allocations: 4.812 kB / 0.573 GB, free: 9.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4632, allocations: 0 / 0.573 GB, free: 9.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.4632, allocations: 0 / 0.573 GB, free: 9.496 MB / 430.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.0003115/0.4635, allocations: 347.7 kB / 0.5733 GB, free: 9.125 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4636, allocations: 8.562 kB / 0.5733 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.4636, allocations: 11.31 kB / 0.5734 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.038e-05/0.4637, allocations: 171 kB / 0.5735 GB, free: 8.914 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.4637, allocations: 9.328 kB / 0.5735 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.4638, allocations: 2.938 kB / 0.5735 GB, free: 8.906 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.449e-05/0.4639, allocations: 39.59 kB / 0.5736 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.4639, allocations: 1.125 kB / 0.5736 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.4639, allocations: 4.75 kB / 0.5736 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4639, allocations: 0.9375 kB / 0.5736 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.4639, allocations: 7.422 kB / 0.5736 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.4641, allocations: 163.5 kB / 0.5737 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.4643, allocations: 44.09 kB / 0.5738 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.377e-05/0.4643, allocations: 18.22 kB / 0.5738 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.4643, allocations: 0.6562 kB / 0.5738 GB, free: 8.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.369e-05/0.4643, allocations: 31.94 kB / 0.5738 GB, free: 8.586 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4643, allocations: 3.938 kB / 0.5738 GB, free: 8.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005708/0.4649, allocations: 313.9 kB / 0.5741 GB, free: 8.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.465, allocations: 52.38 kB / 0.5742 GB, free: 8.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.332e-05/0.465, allocations: 95.2 kB / 0.5743 GB, free: 8.133 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.465, allocations: 30.67 kB / 0.5743 GB, free: 8.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.465, allocations: 80.84 kB / 0.5744 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.4651, allocations: 28.45 kB / 0.5744 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.4651, allocations: 11.52 kB / 0.5744 GB, free: 7.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.4652, allocations: 322 kB / 0.5747 GB, free: 7.656 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.77e-05/0.4652, allocations: 7.344 kB / 0.5747 GB, free: 7.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.4652, allocations: 16.34 kB / 0.5747 GB, free: 7.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.108e-05/0.4653, allocations: 33.69 kB / 0.5748 GB, free: 7.629 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4653, allocations: 0.6562 kB / 0.5748 GB, free: 7.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.4654, allocations: 66.89 kB / 0.5748 GB, free: 7.582 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4655, allocations: 10.56 kB / 0.5749 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4655, allocations: 0 / 0.5749 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.4655, allocations: 1.375 kB / 0.5749 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.67e-05/0.4656, allocations: 14.39 kB / 0.5749 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4656, allocations: 4.75 kB / 0.5749 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.885e-05/0.4656, allocations: 1.359 kB / 0.5749 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4656, allocations: 1.594 kB / 0.5749 GB, free: 7.57 MB / 430.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 5.521e-05/0.4657, allocations: 112.7 kB / 0.575 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.4657, allocations: 10.98 kB / 0.575 GB, free: 7.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.4659, allocations: 68.52 kB / 0.5751 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4659, allocations: 0.7188 kB / 0.5751 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4659, allocations: 1.531 kB / 0.5751 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4659, allocations: 7.984 kB / 0.5751 GB, free: 7.391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.4662, allocations: 317.2 kB / 0.5754 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4662, allocations: 0.8438 kB / 0.5754 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.4663, allocations: 11.31 kB / 0.5754 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4663, allocations: 1.375 kB / 0.5754 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4663, allocations: 1.75 kB / 0.5754 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4663, allocations: 5 kB / 0.5754 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4663, allocations: 0.6094 kB / 0.5754 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.4665, allocations: 184.9 kB / 0.5756 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.173e-05/0.4665, allocations: 82.84 kB / 0.5756 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4665, allocations: 1.188 kB / 0.5757 GB, free: 6.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.4666, allocations: 5.375 kB / 0.5757 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.4666, allocations: 3.344 kB / 0.5757 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.4667, allocations: 2.281 kB / 0.5757 GB, free: 6.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.276e-05/0.4667, allocations: 87.64 kB / 0.5757 GB, free: 6.715 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.22e-07/0.4667, allocations: 0 / 0.5757 GB, free: 6.715 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.467, allocations: 27.88 kB / 0.5758 GB, free: 6.703 MB / 430.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.0001769/0.4671, allocations: 127.7 kB / 0.5759 GB, free: 6.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001074/0.4673, allocations: 31.03 kB / 0.5759 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4673, allocations: 1.188 kB / 0.5759 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.4673, allocations: 21.03 kB / 0.5759 GB, free: 6.586 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4675, allocations: 6.344 kB / 0.5759 GB, free: 6.582 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.468, allocations: 222 kB / 0.5762 GB, free: 6.391 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001429/0.4681, allocations: 0.6806 MB / 0.5768 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.4682, allocations: 12.78 kB / 0.5768 GB, free: 5.688 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.4682, allocations: 11.69 kB / 0.5768 GB, free: 5.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4682, allocations: 0 / 0.5768 GB, free: 5.68 MB / 430.1 MB Notification: Performance of Templates: time 0.00329/0.4715, allocations: 0.6322 MB / 0.5775 GB, free: 5.613 MB / 430.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)