Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6951/0.6951, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009985, allocations: 106.9 kB / 420 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 55.92 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3453, allocations: 70.06 MB / 0.5575 GB, free: 44.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.003111/0.3485, allocations: 1.322 MB / 0.5588 GB, free: 43.76 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.3498, allocations: 0.6349 MB / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.3499, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.3499, allocations: 0 / 0.5594 GB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3501, allocations: 6.703 kB / 0.5594 GB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.3506, allocations: 122 kB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.3507, allocations: 19.92 kB / 0.5595 GB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.236e-05/0.3507, allocations: 7.938 kB / 0.5596 GB, free: 43.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.3508, allocations: 7.938 kB / 0.5596 GB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.722e-05/0.3508, allocations: 15.97 kB / 0.5596 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3508, allocations: 0 / 0.5596 GB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.3513, allocations: 339.3 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3513, allocations: 8 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.561e-05/0.3513, allocations: 11.92 kB / 0.5599 GB, free: 42.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.3516, allocations: 141.8 kB / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3516, allocations: 0 / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3516, allocations: 7.922 kB / 0.5601 GB, free: 42.56 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3516, allocations: 0 / 0.5601 GB, free: 42.56 MB / 410.7 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.0004243/0.352, allocations: 365.7 kB / 0.5604 GB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3521, allocations: 8.031 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.3521, allocations: 4.938 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3522, allocations: 168.3 kB / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.3522, allocations: 4.375 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.3523, allocations: 4.375 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.3524, allocations: 38.25 kB / 0.5606 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.3524, allocations: 192 / 0.5606 GB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3524, allocations: 11.88 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3524, allocations: 3.984 kB / 0.5606 GB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.3525, allocations: 8 kB / 0.5607 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001887/0.3527, allocations: 169.5 kB / 0.5608 GB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.3529, allocations: 38.61 kB / 0.5609 GB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.3529, allocations: 20.94 kB / 0.5609 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.353, allocations: 0 / 0.5609 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.353, allocations: 30.56 kB / 0.5609 GB, free: 41.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.353, allocations: 4 kB / 0.5609 GB, free: 41.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006502/0.3537, allocations: 314.2 kB / 0.5612 GB, free: 41.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3537, allocations: 55.34 kB / 0.5613 GB, free: 41.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.3538, allocations: 101.8 kB / 0.5614 GB, free: 41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.3538, allocations: 25.7 kB / 0.5614 GB, free: 40.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.3538, allocations: 80.14 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3539, allocations: 23.66 kB / 0.5615 GB, free: 40.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.3539, allocations: 25.7 kB / 0.5615 GB, free: 40.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.354, allocations: 310.8 kB / 0.5618 GB, free: 40.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.354, allocations: 12 kB / 0.5618 GB, free: 40.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.106e-05/0.3541, allocations: 19.97 kB / 0.5618 GB, free: 40.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.014e-05/0.3541, allocations: 24.86 kB / 0.5619 GB, free: 40.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3541, allocations: 4 kB / 0.5619 GB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.369e-05/0.3542, allocations: 61.69 kB / 0.5619 GB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3542, allocations: 15.88 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3543, allocations: 3.938 kB / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3543, allocations: 4 kB / 0.5619 GB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-05/0.3543, allocations: 8 kB / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3543, allocations: 0 / 0.5619 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.3544, allocations: 7.984 kB / 0.562 GB, free: 40.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.3544, allocations: 0 / 0.562 GB, free: 40.35 MB / 410.7 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.805e-05/0.3544, allocations: 113.8 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3545, allocations: 3.938 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.3546, allocations: 69.59 kB / 0.5621 GB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3546, allocations: 8 kB / 0.5621 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3546, allocations: 0 / 0.5621 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.3546, allocations: 3.984 kB / 0.5621 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.3549, allocations: 315.3 kB / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3549, allocations: 3.938 kB / 0.5624 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.3549, allocations: 19.94 kB / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3549, allocations: 0 / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.3549, allocations: 0 / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.355, allocations: 0 / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.355, allocations: 4.031 kB / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005742/0.3555, allocations: 1.021 MB / 0.5635 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.3556, allocations: 85.22 kB / 0.5635 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.3556, allocations: 4 kB / 0.5636 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.3557, allocations: 4 kB / 0.5636 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.3557, allocations: 7.938 kB / 0.5636 GB, free: 38.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3557, allocations: 0 / 0.5636 GB, free: 38.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.21e-05/0.3557, allocations: 83.27 kB / 0.5636 GB, free: 38.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3557, allocations: 0 / 0.5636 GB, free: 38.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002996/0.356, allocations: 24 kB / 0.5637 GB, free: 38.37 MB / 410.7 MB 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.0001614/0.3562, allocations: 123.2 kB / 0.5638 GB, free: 38.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.975e-05/0.3563, allocations: 35.92 kB / 0.5638 GB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3563, allocations: 0 / 0.5638 GB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/0.3563, allocations: 19.94 kB / 0.5638 GB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3566, allocations: 4.844 kB / 0.5638 GB, free: 38.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.357, allocations: 325 kB / 0.5641 GB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.3571, allocations: 0.6809 MB / 0.5648 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.3571, allocations: 12.38 kB / 0.5648 GB, free: 37.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.3572, allocations: 15.42 kB / 0.5648 GB, free: 37.08 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3572, allocations: 0 / 0.5648 GB, free: 37.08 MB / 410.7 MB Notification: Performance of Templates: time 0.002508/0.3597, allocations: 0.6266 MB / 0.5655 GB, free: 36.46 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)