Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 115.2 kB / 17.04 MB, free: 5.797 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.001176/0.001175, allocations: 195 kB / 17.98 MB, free: 5.031 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.238/1.238, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6871/0.6871, allocations: 115.1 MB / 406.9 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002512/0.3324, allocations: 1.449 MB / 0.559 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000927/0.3333, allocations: 0.6389 MB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.3334, allocations: 1.625 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.813e-05/0.3334, allocations: 7.516 kB / 0.5596 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.3335, allocations: 5.156 kB / 0.5596 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.3342, allocations: 159.6 kB / 0.5598 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.146e-05/0.3343, allocations: 52.83 kB / 0.5598 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.3343, allocations: 5.516 kB / 0.5598 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.3344, allocations: 25.55 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.3344, allocations: 25.22 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3345, allocations: 4.031 kB / 0.5599 GB, free: 35.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005453/0.335, allocations: 349.4 kB / 0.5602 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.335, allocations: 12.52 kB / 0.5602 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3351, allocations: 26.31 kB / 0.5603 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003198/0.3354, allocations: 180.1 kB / 0.5604 GB, free: 34.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3354, allocations: 1.156 kB / 0.5604 GB, free: 34.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3354, allocations: 0 / 0.5604 GB, free: 34.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3354, allocations: 1.5 kB / 0.5604 GB, free: 34.87 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005245/0.336, allocations: 394.8 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.336, allocations: 10.97 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.3361, allocations: 8.906 kB / 0.5608 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.3361, allocations: 170.9 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3362, allocations: 7.438 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.3362, allocations: 7.094 kB / 0.561 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3364, allocations: 84.16 kB / 0.5611 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3364, allocations: 9.609 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3365, allocations: 4.688 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3365, allocations: 2.281 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002084/0.3367, allocations: 50.91 kB / 0.5612 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.3372, allocations: 318.5 kB / 0.5615 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.3375, allocations: 81.39 kB / 0.5615 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3376, allocations: 36.72 kB / 0.5616 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.3376, allocations: 2.453 kB / 0.5616 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.3377, allocations: 33.62 kB / 0.5616 GB, free: 33.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3377, allocations: 0 / 0.5616 GB, free: 33.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001446/0.3391, allocations: 0.6504 MB / 0.5622 GB, free: 33.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.3391, allocations: 53.75 kB / 0.5623 GB, free: 33.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.472e-05/0.3392, allocations: 108.5 kB / 0.5624 GB, free: 33.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3392, allocations: 27.67 kB / 0.5624 GB, free: 33.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.3393, allocations: 97.02 kB / 0.5625 GB, free: 32.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.3393, allocations: 35.06 kB / 0.5625 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3393, allocations: 30.03 kB / 0.5626 GB, free: 32.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.564e-05/0.3394, allocations: 314.4 kB / 0.5629 GB, free: 32.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.3395, allocations: 33.61 kB / 0.5629 GB, free: 32.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3396, allocations: 34.27 kB / 0.5629 GB, free: 32.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.3399, allocations: 72.17 kB / 0.563 GB, free: 32.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3399, allocations: 0 / 0.563 GB, free: 32.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002776/0.3402, allocations: 123.2 kB / 0.5631 GB, free: 32.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3402, allocations: 7.406 kB / 0.5631 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3402, allocations: 0 / 0.5631 GB, free: 32.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3402, allocations: 4.969 kB / 0.5631 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3404, allocations: 25.92 kB / 0.5632 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3404, allocations: 2.062 kB / 0.5632 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.3404, allocations: 13.81 kB / 0.5632 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3405, allocations: 2.719 kB / 0.5632 GB, free: 32.52 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 (13): * Single equations (assignments): 13 * 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.509e-05/0.3405, allocations: 115.2 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3406, allocations: 4.859 kB / 0.5633 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003277/0.3409, allocations: 125.5 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3409, allocations: 3.344 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3409, allocations: 2.266 kB / 0.5634 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3409, allocations: 3.938 kB / 0.5634 GB, free: 32.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.3414, allocations: 389.3 kB / 0.5638 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3414, allocations: 6.016 kB / 0.5638 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3415, allocations: 27.64 kB / 0.5638 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3415, allocations: 2.094 kB / 0.5638 GB, free: 31.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3416, allocations: 6.953 kB / 0.5638 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3416, allocations: 0 / 0.5638 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3416, allocations: 1.062 kB / 0.5638 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.342, allocations: 245.4 kB / 0.5641 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.342, allocations: 91.97 kB / 0.5642 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.3421, allocations: 6.125 kB / 0.5642 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3422, allocations: 11.88 kB / 0.5642 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.3422, allocations: 9.188 kB / 0.5642 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.3422, allocations: 5.203 kB / 0.5642 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.633e-05/0.3422, allocations: 84.5 kB / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3423, allocations: 0 / 0.5643 GB, free: 31.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.3426, allocations: 41.75 kB / 0.5643 GB, free: 31.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002413/0.3428, allocations: 130.5 kB / 0.5644 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003042/0.3431, allocations: 89.41 kB / 0.5645 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.3431, allocations: 1.531 kB / 0.5645 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3433, allocations: 43.83 kB / 0.5646 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3436, allocations: 9.766 kB / 0.5646 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.3443, allocations: 315 kB / 0.5649 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3444, allocations: 0.6908 MB / 0.5655 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.3445, allocations: 17.89 kB / 0.5656 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.3445, allocations: 13.89 kB / 0.5656 GB, free: 30.6 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3445, allocations: 0 / 0.5656 GB, free: 30.6 MB / 446.1 MB Notification: Performance of Templates: time 0.004045/0.3485, allocations: 1.127 MB / 0.5667 GB, free: 30.52 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)