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.001232/0.001232, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001089/0.001089, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.305/1.305, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7005/0.7005, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3448, allocations: 76.14 MB / 0.5576 GB, free: 36.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002228/0.3471, allocations: 1.268 MB / 0.5588 GB, free: 35.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.348, allocations: 0.6075 MB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.979e-05/0.3481, allocations: 1.812 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.3481, allocations: 0.6562 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.3482, allocations: 7.359 kB / 0.5594 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005165/0.3487, allocations: 147.3 kB / 0.5596 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.531e-05/0.3487, allocations: 24.16 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.3488, allocations: 3.75 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.3488, allocations: 4.953 kB / 0.5596 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.3489, allocations: 17.66 kB / 0.5596 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.3489, allocations: 2.406 kB / 0.5596 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.3494, allocations: 341.5 kB / 0.5599 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.3494, allocations: 5.875 kB / 0.5599 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.3495, allocations: 9.406 kB / 0.5599 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.3497, allocations: 145.8 kB / 0.5601 GB, free: 35.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3497, allocations: 0.6562 kB / 0.5601 GB, free: 35.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3498, allocations: 0.6875 kB / 0.5601 GB, free: 35.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3498, allocations: 1.156 kB / 0.5601 GB, free: 35.19 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.0003404/0.3501, allocations: 360.1 kB / 0.5604 GB, free: 34.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.3501, allocations: 10.38 kB / 0.5604 GB, free: 34.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3502, allocations: 11.5 kB / 0.5604 GB, free: 34.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.192e-05/0.3503, allocations: 167.8 kB / 0.5606 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3503, allocations: 384 / 0.5606 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.3503, allocations: 4.531 kB / 0.5606 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.485e-05/0.3504, allocations: 39.48 kB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3504, allocations: 1.406 kB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.3504, allocations: 5.297 kB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3505, allocations: 2.688 kB / 0.5607 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.3505, allocations: 10.62 kB / 0.5607 GB, free: 34.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.3506, allocations: 160.4 kB / 0.5608 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.3508, allocations: 41.45 kB / 0.5609 GB, free: 34.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.3508, allocations: 19.72 kB / 0.5609 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3509, allocations: 0.7031 kB / 0.5609 GB, free: 34.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.3509, allocations: 41.16 kB / 0.5609 GB, free: 34.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.3509, allocations: 2.344 kB / 0.5609 GB, free: 34.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005772/0.3515, allocations: 310.2 kB / 0.5612 GB, free: 34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.3515, allocations: 52.53 kB / 0.5613 GB, free: 33.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.3516, allocations: 101.1 kB / 0.5614 GB, free: 33.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3516, allocations: 27.48 kB / 0.5614 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.071e-05/0.3516, allocations: 80.14 kB / 0.5615 GB, free: 33.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.3517, allocations: 25.92 kB / 0.5615 GB, free: 33.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.3517, allocations: 24.25 kB / 0.5615 GB, free: 33.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.3518, allocations: 313.3 kB / 0.5618 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.3518, allocations: 12.39 kB / 0.5618 GB, free: 33.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.3518, allocations: 13.83 kB / 0.5618 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.696e-05/0.3519, allocations: 34.56 kB / 0.5619 GB, free: 33.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3519, allocations: 0 / 0.5619 GB, free: 33.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.208e-05/0.352, allocations: 71.44 kB / 0.5619 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.352, allocations: 9.312 kB / 0.5619 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.352, allocations: 1.172 kB / 0.562 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.352, allocations: 2.219 kB / 0.562 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.282e-05/0.3521, allocations: 10.75 kB / 0.562 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.3521, allocations: 1.219 kB / 0.562 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/0.3521, allocations: 0.5625 kB / 0.562 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3521, allocations: 3.828 kB / 0.562 GB, free: 33.28 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 6.039e-05/0.3522, allocations: 112.7 kB / 0.5621 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.3522, allocations: 7.312 kB / 0.5621 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.3524, allocations: 76.81 kB / 0.5622 GB, free: 33.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3524, allocations: 6.188 kB / 0.5622 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3524, allocations: 0.8438 kB / 0.5622 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3524, allocations: 1.594 kB / 0.5622 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.3527, allocations: 314.1 kB / 0.5625 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3527, allocations: 5.25 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.3528, allocations: 17.48 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3528, allocations: 1.188 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.3528, allocations: 1.719 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3528, allocations: 1 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3528, allocations: 1.188 kB / 0.5625 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.353, allocations: 185 kB / 0.5627 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.3531, allocations: 84.59 kB / 0.5627 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3531, allocations: 1.406 kB / 0.5627 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.285e-05/0.3532, allocations: 2.344 kB / 0.5628 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.3532, allocations: 8.438 kB / 0.5628 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.3532, allocations: 2.094 kB / 0.5628 GB, free: 32.51 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.3532, allocations: 79.23 kB / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3532, allocations: 0.7188 kB / 0.5628 GB, free: 32.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.3535, allocations: 20.53 kB / 0.5629 GB, free: 32.43 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.0001854/0.3537, allocations: 131.1 kB / 0.563 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.3538, allocations: 35.83 kB / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3538, allocations: 0.625 kB / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.869e-05/0.3539, allocations: 14.91 kB / 0.563 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.3541, allocations: 10.91 kB / 0.563 GB, free: 32.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.3545, allocations: 192.7 kB / 0.5632 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.3547, allocations: 0.6799 MB / 0.5639 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.3548, allocations: 7.141 kB / 0.5639 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.3548, allocations: 11.72 kB / 0.5639 GB, free: 31.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3548, allocations: 0 / 0.5639 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Templates: time 0.003068/0.3579, allocations: 0.6544 MB / 0.5645 GB, free: 31.45 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)