Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 249.3 MB / 261.8 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 174.2 kB / 321.3 MB, free: 14.64 MB / 266.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.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 88.62 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.641e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2335, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7712/1.005, allocations: 132.3 MB / 1.021 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/1.005, allocations: 80.56 kB / 1.021 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009021/1.014, allocations: 2.832 MB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.467e-06/1.014, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.014, allocations: 3.938 kB / 1.024 GB, free: 15.98 MB / 0.6511 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.0003775/1.015, allocations: 346 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/1.015, allocations: 12.03 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/1.015, allocations: 30.56 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.935e-05/1.015, allocations: 3.953 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.015, allocations: 174.4 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/1.015, allocations: 4 kB / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/1.015, allocations: 0 / 1.024 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/1.015, allocations: 37.08 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/1.015, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/1.015, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.015, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.367e-05/1.015, allocations: 19.55 kB / 1.025 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/1.015, allocations: 160.7 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/1.016, allocations: 45.69 kB / 1.025 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.906e-05/1.016, allocations: 19.88 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/1.016, allocations: 0 / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/1.016, allocations: 33.69 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 2.735e-06/1.016, allocations: 4 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.0006679/1.016, allocations: 302.2 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.016, allocations: 55.41 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/1.016, allocations: 92.98 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/1.016, allocations: 29.64 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/1.017, allocations: 83.95 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/1.017, allocations: 11.81 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/1.017, allocations: 3.75 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.017, allocations: 318.8 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.457e-05/1.017, allocations: 11.75 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/1.017, allocations: 10.38 kB / 1.026 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/1.017, allocations: 14.94 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/1.017, allocations: 0 / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/1.017, allocations: 69.81 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.017, allocations: 4 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.017, allocations: 3.938 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.017, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/1.017, allocations: 19.55 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/1.017, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/1.017, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/1.017, allocations: 4 kB / 1.026 GB, free: 13.9 MB / 0.6511 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 7.612e-05/1.017, allocations: 111.3 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/1.017, allocations: 3.125 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/1.017, allocations: 72.72 kB / 1.026 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/1.017, allocations: 3.984 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.017, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.017, allocations: 0 / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003842/1.018, allocations: 309.6 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/1.018, allocations: 4.031 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/1.018, allocations: 11.94 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/1.018, allocations: 192 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.018, allocations: 11.19 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/1.018, allocations: 7.922 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.018, allocations: 240 / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/1.018, allocations: 191.8 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/1.018, allocations: 77.11 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.018, allocations: 11.64 kB / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.051e-05/1.018, allocations: 0 / 1.027 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/1.018, allocations: 11.89 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/1.018, allocations: 0 / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.884e-05/1.018, allocations: 87.58 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/1.018, allocations: 0 / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002487/1.019, allocations: 35.23 kB / 1.027 GB, free: 12.91 MB / 0.6511 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.000606/1.019, allocations: 0.822 MB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000106/1.019, allocations: 30.06 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.019, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.12e-05/1.019, allocations: 27.42 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/1.02, allocations: 9.047 kB / 1.028 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005271/1.02, allocations: 183 kB / 1.028 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/1.02, allocations: 0.6809 MB / 1.028 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.778e-05/1.021, allocations: 11.98 kB / 1.028 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/1.021, allocations: 14.62 kB / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/1.021, allocations: 0 / 1.028 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/1.034, allocations: 1.369 MB / 1.03 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/1.034, allocations: 207.5 kB / 1.03 GB, free: 9.699 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.689, allocations: 4 kB / 1.03 GB, free: 9.695 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.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_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)