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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 178.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5383/0.5383, allocations: 91.98 MB / 108.5 MB, free: 13.08 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.841/1.841, allocations: 223.2 MB / 354.3 MB, free: 12.23 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.001042/0.001042, allocations: 99.72 kB / 427.4 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003425, allocations: 11.98 kB / 0.4983 GB, free: 42.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 72.31 MB / 0.5689 GB, free: 1.879 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5986/0.7733, allocations: 102.2 MB / 0.6688 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.7737, allocations: 83.94 kB / 0.6688 GB, free: 2.145 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009019/0.7827, allocations: 2.88 MB / 0.6717 GB, free: 15.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.549e-06/0.7828, allocations: 7.922 kB / 0.6717 GB, free: 15.27 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.7828, allocations: 0 / 0.6717 GB, free: 15.27 MB / 474.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.0004392/0.7832, allocations: 351.8 kB / 0.672 GB, free: 14.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.7833, allocations: 12.03 kB / 0.672 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.7834, allocations: 38.56 kB / 0.672 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.7834, allocations: 0 / 0.672 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.7836, allocations: 167.1 kB / 0.6722 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7836, allocations: 0 / 0.6722 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.7836, allocations: 4 kB / 0.6722 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.7838, allocations: 41.64 kB / 0.6723 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7838, allocations: 3.984 kB / 0.6723 GB, free: 14.57 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7838, allocations: 3.953 kB / 0.6723 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.7838, allocations: 0 / 0.6723 GB, free: 14.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.7839, allocations: 15.94 kB / 0.6723 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002292/0.7841, allocations: 153.7 kB / 0.6724 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.7843, allocations: 46.61 kB / 0.6725 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.912e-05/0.7844, allocations: 4 kB / 0.6725 GB, free: 14.29 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.7844, allocations: 30.56 kB / 0.6725 GB, free: 14.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.7844, allocations: 0 / 0.6725 GB, free: 14.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007636/0.7852, allocations: 315.4 kB / 0.6728 GB, free: 13.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.7852, allocations: 59.28 kB / 0.6729 GB, free: 13.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.7853, allocations: 93 kB / 0.6729 GB, free: 13.72 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.7853, allocations: 29.7 kB / 0.673 GB, free: 13.69 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.385e-05/0.7854, allocations: 80.14 kB / 0.6731 GB, free: 13.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.733e-05/0.7854, allocations: 19.8 kB / 0.6731 GB, free: 13.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-06/0.7855, allocations: 0 / 0.6731 GB, free: 13.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.7856, allocations: 318.8 kB / 0.6734 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.7856, allocations: 4 kB / 0.6734 GB, free: 13.26 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.7857, allocations: 23.95 kB / 0.6734 GB, free: 13.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.7857, allocations: 8 kB / 0.6734 GB, free: 13.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.7857, allocations: 4 kB / 0.6734 GB, free: 13.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001402/0.7859, allocations: 69.59 kB / 0.6735 GB, free: 13.15 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.7859, allocations: 4 kB / 0.6735 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7859, allocations: 4 kB / 0.6735 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.7859, allocations: 0 / 0.6735 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.786, allocations: 11.94 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.786, allocations: 3.953 kB / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.786, allocations: 0 / 0.6735 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.786, allocations: 4 kB / 0.6735 GB, free: 13.12 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.323e-05/0.7861, allocations: 113.8 kB / 0.6736 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.7862, allocations: 8 kB / 0.6736 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.7863, allocations: 65.66 kB / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.7863, allocations: 0 / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.7864, allocations: 128 / 0.6737 GB, free: 12.92 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.7864, allocations: 11.89 kB / 0.6737 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/0.7868, allocations: 319.4 kB / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7868, allocations: 0 / 0.674 GB, free: 12.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.476e-05/0.7868, allocations: 11.94 kB / 0.674 GB, free: 12.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7869, allocations: 8.031 kB / 0.674 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.7869, allocations: 0 / 0.674 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.7869, allocations: 3.953 kB / 0.674 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7869, allocations: 0 / 0.674 GB, free: 12.52 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.7871, allocations: 190 kB / 0.6742 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.819e-05/0.7872, allocations: 81.09 kB / 0.6743 GB, free: 12.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.7873, allocations: 12.02 kB / 0.6743 GB, free: 12.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.7873, allocations: 4.406 kB / 0.6743 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.7874, allocations: 0 / 0.6743 GB, free: 12.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.7874, allocations: 7.938 kB / 0.6743 GB, free: 12.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.7875, allocations: 87.2 kB / 0.6744 GB, free: 12.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7875, allocations: 0 / 0.6744 GB, free: 12.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002739/0.7877, allocations: 27.94 kB / 0.6744 GB, free: 12.07 MB / 474.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008053/0.7886, allocations: 0.8266 MB / 0.6752 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.7887, allocations: 31.92 kB / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.7887, allocations: 0 / 0.6753 GB, free: 11.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.895e-05/0.7887, allocations: 12 kB / 0.6753 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.7889, allocations: 6.562 kB / 0.6753 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.79, allocations: 0.4926 MB / 0.6758 GB, free: 10.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.7903, allocations: 0.6848 MB / 0.6764 GB, free: 9.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.7904, allocations: 8 kB / 0.6764 GB, free: 9.902 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.7904, allocations: 11.44 kB / 0.6764 GB, free: 9.895 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.7904, allocations: 0 / 0.6764 GB, free: 9.895 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.8038, allocations: 1.37 MB / 0.6778 GB, free: 8.734 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.804, allocations: 215.6 kB / 0.678 GB, free: 8.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.426, allocations: 1.969 kB / 0.678 GB, free: 8.5 MB / 474.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)