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.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.934 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.001118/0.001118, allocations: 180.8 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008235/0.0008232, allocations: 91.66 kB / 0.6714 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.207e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2208, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8352/1.056, allocations: 132.6 MB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.056, allocations: 79.59 kB / 1.015 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01197/1.068, allocations: 2.807 MB / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/1.068, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.287e-06/1.069, allocations: 0 / 1.018 GB, free: 2.438 MB / 0.6355 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.0004498/1.069, allocations: 349.5 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/1.069, allocations: 12.03 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/1.069, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/1.069, allocations: 167 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.069, allocations: 4 kB / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/1.069, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.461e-05/1.069, allocations: 11.19 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/1.07, allocations: 36.38 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.07, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/1.07, allocations: 4 kB / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.07, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/1.07, allocations: 137.6 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/1.07, allocations: 46.66 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/1.07, allocations: 16.3 kB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/1.07, allocations: 0 / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/1.07, allocations: 42.06 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/1.07, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0006686/1.071, allocations: 289.1 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.071, allocations: 51.41 kB / 1.019 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.317e-05/1.071, allocations: 92.98 kB / 1.019 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/1.071, allocations: 25.7 kB / 1.019 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/1.071, allocations: 80.14 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/1.071, allocations: 15.62 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.071, allocations: 7.938 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.071, allocations: 322.2 kB / 1.019 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/1.071, allocations: 8 kB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/1.071, allocations: 7.125 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/1.071, allocations: 11.25 kB / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/1.071, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001293/1.072, allocations: 67.94 kB / 1.019 GB, free: 500 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.072, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.072, allocations: 0 / 1.019 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/1.072, allocations: 8 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.879e-05/1.072, allocations: 8 kB / 1.019 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.072, allocations: 3.984 kB / 1.019 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.619e-05/1.072, allocations: 0 / 1.019 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/1.072, allocations: 4 kB / 1.019 GB, free: 472 kB / 0.6355 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.716e-05/1.072, allocations: 104.9 kB / 1.019 GB, free: 360 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001069/1.072, allocations: 60.12 kB / 1.02 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/1.072, allocations: 7.844 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/1.072, allocations: 61.28 kB / 1.02 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/1.072, allocations: 4 kB / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.072, allocations: 0 / 1.02 GB, free: 220 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.072, allocations: 4 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/1.073, allocations: 289.8 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.073, allocations: 0 / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/1.073, allocations: 15.98 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.073, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/1.073, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.073, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/1.073, allocations: 9.047 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/1.073, allocations: 189.2 kB / 1.02 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.616e-05/1.073, allocations: 85 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/1.073, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.992e-05/1.073, allocations: 4 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/1.073, allocations: 12 kB / 1.02 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/1.073, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.878e-05/1.073, allocations: 79.34 kB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.016e-06/1.074, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004264/1.074, allocations: 31.88 kB / 1.02 GB, free: 15.45 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.0005925/1.075, allocations: 0.8122 MB / 1.021 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000118/1.075, allocations: 27.19 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.075, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.78e-05/1.075, allocations: 19.56 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/1.075, allocations: 4.609 kB / 1.021 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006485/1.076, allocations: 190 kB / 1.021 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/1.076, allocations: 0.6807 MB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.698e-05/1.076, allocations: 7.938 kB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.076, allocations: 11.44 kB / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.076, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02328/1.099, allocations: 1.06 MB / 1.023 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003249/1.1, allocations: 197.7 kB / 1.023 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.606, allocations: 0 / 1.023 GB, free: 12.36 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)