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/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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105.6 kB / 16.27 MB, free: 6.109 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.001158/0.001158, allocations: 191.8 kB / 17.2 MB, free: 5.723 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7341/0.7341, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 67.89 kB / 0.4912 GB, free: 7.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2958, allocations: 77.93 MB / 0.5673 GB, free: 32.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002706/0.2986, allocations: 1.457 MB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009701/0.2996, allocations: 0.625 MB / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.2996, allocations: 0 / 0.5693 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.081e-05/0.2997, allocations: 7.234 kB / 0.5693 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.2997, allocations: 13.73 kB / 0.5693 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.3003, allocations: 155.1 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.3004, allocations: 53.27 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.3004, allocations: 4.406 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.583e-05/0.3005, allocations: 20.91 kB / 0.5696 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.3005, allocations: 30.45 kB / 0.5696 GB, free: 31.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.3006, allocations: 8.266 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005489/0.3011, allocations: 345.8 kB / 0.5699 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.3011, allocations: 16.58 kB / 0.57 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3012, allocations: 22.75 kB / 0.57 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.3015, allocations: 181 kB / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3016, allocations: 0 / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3016, allocations: 0 / 0.5701 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3016, allocations: 1.125 kB / 0.5701 GB, free: 30.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005959/0.3022, allocations: 394.9 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3022, allocations: 9.641 kB / 0.5705 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.857e-05/0.3023, allocations: 38.64 kB / 0.5706 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.3023, allocations: 10.47 kB / 0.5706 GB, free: 30.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.878e-05/0.3024, allocations: 172 kB / 0.5707 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.3025, allocations: 10.47 kB / 0.5708 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.3025, allocations: 9.906 kB / 0.5708 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.3028, allocations: 83.95 kB / 0.5708 GB, free: 30.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.3028, allocations: 8.906 kB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3028, allocations: 2.156 kB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3028, allocations: 1.156 kB / 0.5709 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3031, allocations: 53.23 kB / 0.5709 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3035, allocations: 320.7 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.3038, allocations: 76.98 kB / 0.5713 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.304, allocations: 36.94 kB / 0.5713 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.304, allocations: 6.156 kB / 0.5713 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.304, allocations: 36.95 kB / 0.5714 GB, free: 29.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.304, allocations: 0 / 0.5714 GB, free: 29.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001589/0.3056, allocations: 0.6409 MB / 0.572 GB, free: 29.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.3057, allocations: 54.09 kB / 0.572 GB, free: 29.15 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/0.3057, allocations: 105.4 kB / 0.5721 GB, free: 29.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.3058, allocations: 32.56 kB / 0.5722 GB, free: 29.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/0.3058, allocations: 92 kB / 0.5723 GB, free: 28.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.3058, allocations: 35.91 kB / 0.5723 GB, free: 28.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.3059, allocations: 29.47 kB / 0.5723 GB, free: 28.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.306, allocations: 319.3 kB / 0.5726 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3061, allocations: 33.98 kB / 0.5727 GB, free: 28.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3062, allocations: 28.56 kB / 0.5727 GB, free: 28.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.3065, allocations: 72.67 kB / 0.5728 GB, free: 28.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3065, allocations: 1.094 kB / 0.5728 GB, free: 28.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000331/0.3069, allocations: 124.1 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.3069, allocations: 5.766 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3069, allocations: 1.188 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3069, allocations: 0 / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3071, allocations: 26.42 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3071, allocations: 7.078 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.3072, allocations: 4.391 kB / 0.5729 GB, free: 28.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3072, allocations: 9.312 kB / 0.5729 GB, free: 28.44 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 (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.96e-05/0.3073, allocations: 118 kB / 0.573 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.3073, allocations: 10.97 kB / 0.573 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.3077, allocations: 133.8 kB / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3077, allocations: 2.047 kB / 0.5732 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3078, allocations: 4.438 kB / 0.5732 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3078, allocations: 1.484 kB / 0.5732 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.3083, allocations: 384.8 kB / 0.5735 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3083, allocations: 1.109 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.3084, allocations: 25 kB / 0.5736 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3085, allocations: 9.219 kB / 0.5736 GB, free: 27.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3085, allocations: 5.922 kB / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3085, allocations: 3.859 kB / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3085, allocations: 0 / 0.5736 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004779/0.309, allocations: 256.5 kB / 0.5738 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.309, allocations: 79.14 kB / 0.5739 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.309, allocations: 5.734 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.3092, allocations: 8.672 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.3092, allocations: 10.56 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.3092, allocations: 3.781 kB / 0.5739 GB, free: 27.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.531e-05/0.3092, allocations: 82.5 kB / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3092, allocations: 0 / 0.574 GB, free: 27.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3095, allocations: 47.3 kB / 0.5741 GB, free: 27.53 MB / 446.1 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.0007994/0.3103, allocations: 0.8154 MB / 0.5749 GB, free: 26.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3107, allocations: 87.47 kB / 0.5749 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3107, allocations: 0 / 0.5749 GB, free: 26.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3109, allocations: 43.16 kB / 0.575 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3112, allocations: 11.16 kB / 0.575 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.3129, allocations: 1.593 MB / 0.5766 GB, free: 25.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.313, allocations: 0.6946 MB / 0.5772 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.887e-05/0.3131, allocations: 16.78 kB / 0.5772 GB, free: 24.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.3132, allocations: 24.45 kB / 0.5773 GB, free: 24.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3132, allocations: 0 / 0.5773 GB, free: 24.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.3316, allocations: 2.29 MB / 0.5795 GB, free: 24.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.359, allocations: 5.75 kB / 0.5795 GB, free: 24.36 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)