Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0009024/0.0009026, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4863/0.4863, allocations: 90.91 MB / 99.34 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 221.5 MB / 343.2 MB, free: 1.598 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.0008821, allocations: 98.41 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.9e-05, allocations: 0 / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1428, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.62, allocations: 101.6 MB / 0.6529 GB, free: 8.648 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.6203, allocations: 81.2 kB / 0.6529 GB, free: 8.602 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.6315, allocations: 4.041 MB / 0.6569 GB, free: 5.262 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6315, allocations: 0 / 0.6569 GB, free: 5.262 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.6315, allocations: 0 / 0.6569 GB, free: 5.262 MB / 458.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.0003183/0.6319, allocations: 354.1 kB / 0.6572 GB, free: 4.875 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.6319, allocations: 12.03 kB / 0.6572 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.632, allocations: 4 kB / 0.6572 GB, free: 4.859 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.6321, allocations: 163 kB / 0.6574 GB, free: 4.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6321, allocations: 4 kB / 0.6574 GB, free: 4.656 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.6321, allocations: 0 / 0.6574 GB, free: 4.656 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.804e-05/0.6322, allocations: 7 kB / 0.6574 GB, free: 4.652 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.6323, allocations: 37.69 kB / 0.6574 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.6323, allocations: 0 / 0.6574 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.6323, allocations: 3.953 kB / 0.6574 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6323, allocations: 0 / 0.6574 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.6325, allocations: 141.5 kB / 0.6576 GB, free: 4.434 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.6327, allocations: 44.67 kB / 0.6576 GB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.6327, allocations: 15.8 kB / 0.6576 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.6328, allocations: 0 / 0.6576 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.6328, allocations: 37.38 kB / 0.6577 GB, free: 4.328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.6328, allocations: 0 / 0.6577 GB, free: 4.328 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.000514/0.6333, allocations: 281.7 kB / 0.6579 GB, free: 4.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.6333, allocations: 51.41 kB / 0.658 GB, free: 3.953 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.6334, allocations: 92.95 kB / 0.6581 GB, free: 3.855 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.6334, allocations: 29.69 kB / 0.6581 GB, free: 3.82 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.6335, allocations: 83.39 kB / 0.6582 GB, free: 3.738 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.6335, allocations: 19.66 kB / 0.6582 GB, free: 3.719 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.6335, allocations: 0 / 0.6582 GB, free: 3.719 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.6336, allocations: 313.8 kB / 0.6585 GB, free: 3.406 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.6337, allocations: 15.12 kB / 0.6585 GB, free: 3.395 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.6337, allocations: 11.55 kB / 0.6585 GB, free: 3.387 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.577e-05/0.6337, allocations: 19.42 kB / 0.6585 GB, free: 3.371 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.6337, allocations: 0 / 0.6585 GB, free: 3.371 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.33e-05/0.6338, allocations: 61.28 kB / 0.6586 GB, free: 3.309 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.6338, allocations: 4 kB / 0.6586 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.6339, allocations: 0 / 0.6586 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.6339, allocations: 0 / 0.6586 GB, free: 3.305 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.864e-05/0.6339, allocations: 12 kB / 0.6586 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.6339, allocations: 0 / 0.6586 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.634, allocations: 4 kB / 0.6586 GB, free: 3.289 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.634, allocations: 10.89 kB / 0.6586 GB, free: 3.281 MB / 458.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 () * 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 7.067e-05/0.6341, allocations: 105 kB / 0.6587 GB, free: 3.172 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.049e-05/0.6341, allocations: 49.14 kB / 0.6588 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/0.6341, allocations: 7.172 kB / 0.6588 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.6343, allocations: 64.78 kB / 0.6588 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.6343, allocations: 0 / 0.6588 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.6343, allocations: 7.891 kB / 0.6589 GB, free: 3.051 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6343, allocations: 4.188 kB / 0.6589 GB, free: 3.047 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.6346, allocations: 293.8 kB / 0.6591 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6346, allocations: 0 / 0.6591 GB, free: 2.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.6347, allocations: 11.98 kB / 0.6591 GB, free: 2.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.6347, allocations: 4 kB / 0.6592 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.6347, allocations: 0 / 0.6592 GB, free: 2.711 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.6347, allocations: 3.953 kB / 0.6592 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6347, allocations: 0 / 0.6592 GB, free: 2.707 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.6349, allocations: 180.5 kB / 0.6593 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.635, allocations: 89.06 kB / 0.6594 GB, free: 2.414 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.635, allocations: 3.953 kB / 0.6594 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.858e-05/0.6351, allocations: 0 / 0.6594 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.6351, allocations: 4 kB / 0.6594 GB, free: 2.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.6351, allocations: 7.562 kB / 0.6594 GB, free: 2.402 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.396e-05/0.6351, allocations: 83.33 kB / 0.6595 GB, free: 2.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6351, allocations: 0 / 0.6595 GB, free: 2.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.6354, allocations: 20 kB / 0.6595 GB, free: 2.301 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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.0005212/0.6359, allocations: 0.8232 MB / 0.6603 GB, free: 1.457 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.32e-05/0.636, allocations: 34.69 kB / 0.6604 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.636, allocations: 0 / 0.6604 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.18e-05/0.636, allocations: 19.44 kB / 0.6604 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.6362, allocations: 2.062 kB / 0.6604 GB, free: 1.414 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.6366, allocations: 178.8 kB / 0.6606 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.6369, allocations: 0.6885 MB / 0.6612 GB, free: 500 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.01e-05/0.6369, allocations: 4.375 kB / 0.6612 GB, free: 496 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.821e-05/0.637, allocations: 15.12 kB / 0.6612 GB, free: 484 kB / 458.7 MB Notification: Performance of SimCode: time 2.41e-07/0.637, allocations: 0 / 0.6612 GB, free: 484 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.6585, allocations: 1.031 MB / 0.6623 GB, free: 15.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002773/0.6588, allocations: 185.6 kB / 0.6624 GB, free: 15.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/2.099, allocations: 4 kB / 0.6624 GB, free: 15.25 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)