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.001508/0.001508, allocations: 104.5 kB / 15.98 MB, free: 6.344 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.001754/0.001754, allocations: 202.3 kB / 16.91 MB, free: 6.188 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7747/0.7747, allocations: 122.9 MB / 413.6 MB, free: 56 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 59.91 kB / 0.4906 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.338, allocations: 77.93 MB / 0.5667 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002273/0.3403, allocations: 1.336 MB / 0.568 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.3412, allocations: 0.6054 MB / 0.5686 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.3412, allocations: 1.062 kB / 0.5686 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.056e-05/0.3412, allocations: 1.844 kB / 0.5686 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.3413, allocations: 5.766 kB / 0.5686 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005089/0.3418, allocations: 128.5 kB / 0.5688 GB, free: 30.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.3419, allocations: 18.78 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.3419, allocations: 3.859 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.154e-05/0.342, allocations: 5.828 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.342, allocations: 13.05 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.342, allocations: 0.9688 kB / 0.5688 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004842/0.3425, allocations: 348.6 kB / 0.5691 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.099e-05/0.3425, allocations: 1.594 kB / 0.5691 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.3426, allocations: 13.98 kB / 0.5692 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.3428, allocations: 151.7 kB / 0.5693 GB, free: 30.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3428, allocations: 0 / 0.5693 GB, free: 30.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3428, allocations: 1.75 kB / 0.5693 GB, free: 30.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3428, allocations: 1.094 kB / 0.5693 GB, free: 30.54 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.0003207/0.3432, allocations: 361.7 kB / 0.5696 GB, free: 30.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3432, allocations: 9.25 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.3432, allocations: 4.844 kB / 0.5697 GB, free: 30.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.944e-05/0.3433, allocations: 165.7 kB / 0.5698 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3433, allocations: 3.594 kB / 0.5698 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.3434, allocations: 1.719 kB / 0.5698 GB, free: 29.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.3435, allocations: 49.27 kB / 0.5699 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3435, allocations: 1.469 kB / 0.5699 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3435, allocations: 3.938 kB / 0.5699 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3435, allocations: 1.25 kB / 0.5699 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.943e-05/0.3435, allocations: 12.98 kB / 0.5699 GB, free: 29.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.3437, allocations: 155.8 kB / 0.57 GB, free: 29.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.3438, allocations: 40.42 kB / 0.5701 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.3439, allocations: 19.05 kB / 0.5701 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3439, allocations: 5.766 kB / 0.5701 GB, free: 29.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.3439, allocations: 41.03 kB / 0.5701 GB, free: 29.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.3439, allocations: 0 / 0.5701 GB, free: 29.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005177/0.3445, allocations: 315.1 kB / 0.5704 GB, free: 29.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.3445, allocations: 52.53 kB / 0.5705 GB, free: 29.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.3445, allocations: 99.39 kB / 0.5706 GB, free: 29.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.3446, allocations: 27.45 kB / 0.5706 GB, free: 29.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.389e-05/0.3446, allocations: 82.36 kB / 0.5707 GB, free: 29.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3446, allocations: 23.81 kB / 0.5707 GB, free: 29.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3446, allocations: 20.62 kB / 0.5707 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.3447, allocations: 314.5 kB / 0.571 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.463e-05/0.3447, allocations: 12.53 kB / 0.571 GB, free: 28.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.086e-05/0.3447, allocations: 13.36 kB / 0.5711 GB, free: 28.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.182e-05/0.3448, allocations: 42.69 kB / 0.5711 GB, free: 28.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3448, allocations: 1.344 kB / 0.5711 GB, free: 28.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.449e-05/0.3449, allocations: 66.3 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3449, allocations: 8.5 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3449, allocations: 2.625 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.3449, allocations: 0.5 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.345, allocations: 11.42 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.345, allocations: 1.094 kB / 0.5712 GB, free: 28.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.345, allocations: 5.938 kB / 0.5712 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.345, allocations: 2.031 kB / 0.5712 GB, free: 28.61 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.74e-05/0.3451, allocations: 116.9 kB / 0.5713 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.3451, allocations: 6.875 kB / 0.5713 GB, free: 28.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.3452, allocations: 69.38 kB / 0.5714 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3452, allocations: 2.078 kB / 0.5714 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.3453, allocations: 1.312 kB / 0.5714 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3453, allocations: 0.5156 kB / 0.5714 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.3455, allocations: 322.7 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3455, allocations: 1.75 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.3456, allocations: 11 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3456, allocations: 1.375 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3456, allocations: 2.906 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3456, allocations: 1.625 kB / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3456, allocations: 0 / 0.5717 GB, free: 28.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3458, allocations: 189.7 kB / 0.5719 GB, free: 27.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.3458, allocations: 84.08 kB / 0.572 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3458, allocations: 5.5 kB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3459, allocations: 6.031 kB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.3459, allocations: 9 kB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3459, allocations: 2.766 kB / 0.572 GB, free: 27.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.831e-05/0.346, allocations: 79.09 kB / 0.5721 GB, free: 27.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.346, allocations: 0 / 0.5721 GB, free: 27.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.3462, allocations: 23.77 kB / 0.5721 GB, free: 27.75 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.0001554/0.3464, allocations: 118.2 kB / 0.5722 GB, free: 27.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.3465, allocations: 40.53 kB / 0.5722 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3465, allocations: 2.438 kB / 0.5722 GB, free: 27.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.753e-05/0.3465, allocations: 20.92 kB / 0.5723 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.3468, allocations: 6 kB / 0.5723 GB, free: 27.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3471, allocations: 193.8 kB / 0.5724 GB, free: 27.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.865e-05/0.3472, allocations: 0.6808 MB / 0.5731 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.199e-05/0.3472, allocations: 4.188 kB / 0.5731 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3473, allocations: 18.23 kB / 0.5731 GB, free: 26.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3473, allocations: 0 / 0.5731 GB, free: 26.79 MB / 446.1 MB Notification: Performance of Templates: time 0.002634/0.3499, allocations: 0.6549 MB / 0.5738 GB, free: 26.75 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)