Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.823/1.823, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 176.9 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008667, allocations: 94.69 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.806e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6162, allocations: 115.3 MB / 0.9645 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.7969, allocations: 137.9 MB / 1.099 GB, free: 1.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/0.7973, allocations: 75.95 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.808, allocations: 2.826 MB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8081, allocations: 0 / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.874e-06/0.8081, allocations: 0.8438 kB / 1.102 GB, free: 15 MB / 0.7136 GB 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.0004309/0.8085, allocations: 342.9 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.8086, allocations: 12.72 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.8086, allocations: 4.969 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.8088, allocations: 171.5 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.8089, allocations: 0.6875 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.8089, allocations: 4 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.661e-05/0.809, allocations: 4.594 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.8091, allocations: 42.69 kB / 1.103 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8091, allocations: 0 / 1.103 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.8092, allocations: 5.484 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.8092, allocations: 0.7188 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.8094, allocations: 138.9 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.8096, allocations: 43.64 kB / 1.103 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.595e-05/0.8097, allocations: 20.3 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.8097, allocations: 3.984 kB / 1.103 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.8098, allocations: 34.56 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.954e-06/0.8098, allocations: 0 / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006911/0.8105, allocations: 279.9 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.8105, allocations: 51.41 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.8106, allocations: 89.88 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.8107, allocations: 25.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/0.8107, allocations: 81.8 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.8108, allocations: 23.7 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.8108, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8109, allocations: 316 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.811, allocations: 5.594 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.811, allocations: 12 kB / 1.104 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.977e-05/0.8111, allocations: 19.98 kB / 1.104 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8111, allocations: 3.953 kB / 1.104 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001364/0.8112, allocations: 65.61 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.8112, allocations: 4 kB / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.8113, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.8113, allocations: 0 / 1.104 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.8114, allocations: 12 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.8114, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.8114, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.8114, allocations: 4 kB / 1.104 GB, free: 12.99 MB / 0.7136 GB 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 8.429e-05/0.8115, allocations: 105 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000119/0.8117, allocations: 69.11 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.8117, allocations: 0 / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.8119, allocations: 72.7 kB / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.8119, allocations: 0 / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8119, allocations: 0 / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8119, allocations: 0 / 1.104 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.8123, allocations: 291.9 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8123, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.812e-05/0.8124, allocations: 12 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.8124, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.8125, allocations: 7.922 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.8125, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8125, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.8127, allocations: 190 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.8128, allocations: 89.5 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.8129, allocations: 0 / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.813, allocations: 4 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.813, allocations: 0 / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.813, allocations: 6.062 kB / 1.105 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.354e-05/0.8131, allocations: 83.22 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.8131, allocations: 0 / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004346/0.8135, allocations: 27.92 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB 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 () * 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.0007288/0.8143, allocations: 0.8136 MB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.8144, allocations: 31.98 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8144, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.685e-05/0.8145, allocations: 24 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.8147, allocations: 7 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.8154, allocations: 180.6 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.8157, allocations: 0.6807 MB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.8158, allocations: 11.98 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.967e-05/0.8159, allocations: 15.44 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of SimCode: time 5.31e-07/0.8159, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.8373, allocations: 1.043 MB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.8376, allocations: 196.4 kB / 1.108 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.337, allocations: 3.938 kB / 1.108 GB, free: 8.84 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)