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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 189.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.4928/0.4928, 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.378/1.378, allocations: 222.9 MB / 349.1 MB, free: 2.762 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.001251/0.001251, allocations: 104.8 kB / 420 MB, free: 8.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000984/0.0009841, allocations: 55.92 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3081, allocations: 70.06 MB / 0.5575 GB, free: 44.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002055/0.3102, allocations: 1.343 MB / 0.5588 GB, free: 43.7 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000807/0.311, allocations: 0.6216 MB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.839e-05/0.3111, allocations: 2.938 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.3111, allocations: 0 / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4e-05/0.3111, allocations: 9.391 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.3115, allocations: 117.4 kB / 0.5595 GB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.977e-05/0.3116, allocations: 15.94 kB / 0.5596 GB, free: 43.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.3116, allocations: 4 kB / 0.5596 GB, free: 43.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.3117, allocations: 19.91 kB / 0.5596 GB, free: 43.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.751e-05/0.3117, allocations: 8 kB / 0.5596 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.3117, allocations: 0 / 0.5596 GB, free: 43.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.3121, allocations: 343.3 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.337e-06/0.3121, allocations: 3.938 kB / 0.5599 GB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.3121, allocations: 7.984 kB / 0.5599 GB, free: 42.71 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3123, allocations: 149.8 kB / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3123, allocations: 0 / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3124, allocations: 0 / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.966e-06/0.3124, allocations: 0 / 0.5601 GB, free: 42.57 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.0002947/0.3127, allocations: 371.4 kB / 0.5604 GB, free: 42.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.3127, allocations: 8.031 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.3127, allocations: 4.938 kB / 0.5604 GB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.3128, allocations: 168.3 kB / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3128, allocations: 384 / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.3128, allocations: 4.375 kB / 0.5606 GB, free: 41.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.07e-05/0.3129, allocations: 46.12 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.3129, allocations: 192 / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.313, allocations: 3.938 kB / 0.5606 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.313, allocations: 8 kB / 0.5607 GB, free: 41.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.313, allocations: 11.98 kB / 0.5607 GB, free: 41.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3131, allocations: 165.6 kB / 0.5608 GB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.3133, allocations: 38.56 kB / 0.5609 GB, free: 41.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.3133, allocations: 20.8 kB / 0.5609 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.3133, allocations: 0 / 0.5609 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.3133, allocations: 38.56 kB / 0.5609 GB, free: 41.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3134, allocations: 0 / 0.5609 GB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004527/0.3138, allocations: 306.4 kB / 0.5612 GB, free: 41.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.553e-05/0.3138, allocations: 55.41 kB / 0.5613 GB, free: 41.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.85e-05/0.3139, allocations: 97.86 kB / 0.5614 GB, free: 41.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-06/0.3139, allocations: 25.7 kB / 0.5614 GB, free: 40.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/0.3139, allocations: 80.14 kB / 0.5615 GB, free: 40.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.314, allocations: 27.64 kB / 0.5615 GB, free: 40.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.314, allocations: 21.72 kB / 0.5615 GB, free: 40.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.314, allocations: 310.8 kB / 0.5618 GB, free: 40.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.314, allocations: 15.98 kB / 0.5618 GB, free: 40.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.3141, allocations: 15.98 kB / 0.5618 GB, free: 40.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.343e-05/0.3141, allocations: 28.8 kB / 0.5619 GB, free: 40.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.3141, allocations: 0 / 0.5619 GB, free: 40.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.393e-05/0.3142, allocations: 69.67 kB / 0.5619 GB, free: 40.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3142, allocations: 9.969 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3142, allocations: 8 kB / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.3142, allocations: 0 / 0.5619 GB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.3143, allocations: 16.05 kB / 0.562 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3143, allocations: 0 / 0.562 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.3143, allocations: 0 / 0.562 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.3143, allocations: 4 kB / 0.562 GB, free: 40.36 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 3.956e-05/0.3144, allocations: 113.8 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.3144, allocations: 7.938 kB / 0.5621 GB, free: 40.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.3145, allocations: 73.58 kB / 0.5621 GB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3145, allocations: 4 kB / 0.5622 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3145, allocations: 4 kB / 0.5622 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3145, allocations: 0 / 0.5622 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3147, allocations: 319.3 kB / 0.5625 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3148, allocations: 0 / 0.5625 GB, free: 39.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.3148, allocations: 11.98 kB / 0.5625 GB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3148, allocations: 7.938 kB / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3148, allocations: 0 / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3148, allocations: 0 / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3148, allocations: 4.031 kB / 0.5625 GB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.3154, allocations: 1.017 MB / 0.5635 GB, free: 38.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.3154, allocations: 85.19 kB / 0.5636 GB, free: 38.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-06/0.3154, allocations: 8.031 kB / 0.5636 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.3155, allocations: 0 / 0.5636 GB, free: 38.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.3155, allocations: 19.84 kB / 0.5636 GB, free: 38.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3155, allocations: 0 / 0.5636 GB, free: 38.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.3155, allocations: 79.28 kB / 0.5637 GB, free: 38.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3155, allocations: 0 / 0.5637 GB, free: 38.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000288/0.3158, allocations: 24 kB / 0.5637 GB, free: 38.36 MB / 410.7 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.0001221/0.316, allocations: 127.2 kB / 0.5638 GB, free: 38.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.316, allocations: 32.22 kB / 0.5638 GB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3161, allocations: 0 / 0.5638 GB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.324e-05/0.3161, allocations: 23.92 kB / 0.5639 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.0001973/0.3163, allocations: 4 kB / 0.5639 GB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.3166, allocations: 308.6 kB / 0.5642 GB, free: 37.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.621e-05/0.3167, allocations: 0.6848 MB / 0.5648 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.3168, allocations: 12.28 kB / 0.5648 GB, free: 37.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.3168, allocations: 11.44 kB / 0.5648 GB, free: 37.09 MB / 410.7 MB Notification: Performance of SimCode: time 2e-07/0.3168, allocations: 0 / 0.5648 GB, free: 37.09 MB / 410.7 MB Notification: Performance of Templates: time 0.002356/0.3192, allocations: 0.6584 MB / 0.5655 GB, free: 36.47 MB / 410.7 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)