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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 182.7 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.4717/0.4717, allocations: 87.51 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.315/1.315, 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.0009705/0.0009705, allocations: 106.2 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001017, allocations: 59.89 kB / 0.4891 GB, free: 7.68 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3179, allocations: 70.05 MB / 0.5575 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002343/0.3203, allocations: 1.525 MB / 0.559 GB, free: 43.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008701/0.3212, allocations: 0.6515 MB / 0.5596 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.3213, allocations: 0 / 0.5596 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.3213, allocations: 5 kB / 0.5596 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.3214, allocations: 0 / 0.5596 GB, free: 42.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.3218, allocations: 136.7 kB / 0.5598 GB, free: 42.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.3219, allocations: 50.75 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.322, allocations: 7.344 kB / 0.5598 GB, free: 42.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.967e-05/0.322, allocations: 25.25 kB / 0.5598 GB, free: 42.73 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.3221, allocations: 23.95 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.3221, allocations: 2.75 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.3225, allocations: 349.1 kB / 0.5602 GB, free: 42.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.448e-05/0.3225, allocations: 11.92 kB / 0.5602 GB, free: 42.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.3225, allocations: 27.84 kB / 0.5602 GB, free: 42.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3228, allocations: 165.7 kB / 0.5604 GB, free: 42.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3228, allocations: 3.938 kB / 0.5604 GB, free: 42.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3228, allocations: 0 / 0.5604 GB, free: 42.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3228, allocations: 4 kB / 0.5604 GB, free: 42.21 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004877/0.3233, allocations: 399.3 kB / 0.5608 GB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.3233, allocations: 12.03 kB / 0.5608 GB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3234, allocations: 8.844 kB / 0.5608 GB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.828e-05/0.3234, allocations: 172.2 kB / 0.561 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.3235, allocations: 8.375 kB / 0.561 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3235, allocations: 12.27 kB / 0.561 GB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.3237, allocations: 78.22 kB / 0.5611 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3237, allocations: 4.172 kB / 0.5611 GB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3238, allocations: 11.94 kB / 0.5611 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3238, allocations: 0 / 0.5611 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.324, allocations: 47.95 kB / 0.5611 GB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.3244, allocations: 320.6 kB / 0.5614 GB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3247, allocations: 82.47 kB / 0.5615 GB, free: 40.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3248, allocations: 28.84 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3248, allocations: 0 / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.3249, allocations: 46.5 kB / 0.5616 GB, free: 40.84 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.61e-07/0.3249, allocations: 0 / 0.5616 GB, free: 40.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.00142/0.3263, allocations: 0.6424 MB / 0.5622 GB, free: 40.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.3263, allocations: 55.41 kB / 0.5623 GB, free: 40.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.3264, allocations: 101.8 kB / 0.5624 GB, free: 39.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3264, allocations: 29.7 kB / 0.5624 GB, free: 39.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.3264, allocations: 88.08 kB / 0.5625 GB, free: 39.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3265, allocations: 47.34 kB / 0.5625 GB, free: 39.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.3265, allocations: 29.7 kB / 0.5625 GB, free: 39.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.3266, allocations: 314.8 kB / 0.5628 GB, free: 39.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.3267, allocations: 35.97 kB / 0.5629 GB, free: 39.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.3268, allocations: 32.73 kB / 0.5629 GB, free: 39.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.327, allocations: 75.14 kB / 0.563 GB, free: 39.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.327, allocations: 0 / 0.563 GB, free: 39.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002746/0.3273, allocations: 121.6 kB / 0.5631 GB, free: 39.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3273, allocations: 8 kB / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3274, allocations: 0 / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3274, allocations: 0 / 0.5631 GB, free: 39.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.3275, allocations: 27.98 kB / 0.5631 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3275, allocations: 3.984 kB / 0.5631 GB, free: 39.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.203e-05/0.3276, allocations: 11.94 kB / 0.5631 GB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3276, allocations: 3.984 kB / 0.5631 GB, free: 39.09 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 (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 6.284e-05/0.3277, allocations: 117.8 kB / 0.5633 GB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3277, allocations: 11.91 kB / 0.5633 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.3281, allocations: 121.6 kB / 0.5634 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3281, allocations: 4 kB / 0.5634 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3281, allocations: 0 / 0.5634 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3281, allocations: 7.922 kB / 0.5634 GB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3285, allocations: 382.6 kB / 0.5638 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3286, allocations: 4 kB / 0.5638 GB, free: 38.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3287, allocations: 27.98 kB / 0.5638 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3287, allocations: 192 / 0.5638 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3287, allocations: 7.922 kB / 0.5638 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3287, allocations: 0 / 0.5638 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3287, allocations: 4 kB / 0.5638 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002354/0.3311, allocations: 1.364 MB / 0.5651 GB, free: 36.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/0.3311, allocations: 85.23 kB / 0.5652 GB, free: 36.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.3312, allocations: 4 kB / 0.5652 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3313, allocations: 7.984 kB / 0.5652 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.3313, allocations: 4 kB / 0.5652 GB, free: 36.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3313, allocations: 8 kB / 0.5652 GB, free: 36.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.711e-05/0.3314, allocations: 83.27 kB / 0.5653 GB, free: 36.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3314, allocations: 0 / 0.5653 GB, free: 36.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000347/0.3317, allocations: 39.94 kB / 0.5654 GB, free: 36.57 MB / 410.7 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.0001983/0.3319, allocations: 135.2 kB / 0.5655 GB, free: 36.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000307/0.3322, allocations: 87.98 kB / 0.5656 GB, free: 36.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3322, allocations: 0 / 0.5656 GB, free: 36.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3324, allocations: 43.97 kB / 0.5656 GB, free: 36.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3327, allocations: 11.94 kB / 0.5656 GB, free: 36.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.3334, allocations: 486 kB / 0.5661 GB, free: 35.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3335, allocations: 0.6965 MB / 0.5668 GB, free: 35.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.64e-05/0.3335, allocations: 8.656 kB / 0.5668 GB, free: 35.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.646e-05/0.3336, allocations: 19.42 kB / 0.5668 GB, free: 35.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.9e-07/0.3336, allocations: 0 / 0.5668 GB, free: 35.02 MB / 410.7 MB Notification: Performance of Templates: time 0.00306/0.3366, allocations: 1.142 MB / 0.5679 GB, free: 33.92 MB / 410.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)