Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.554/2.554, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001524/0.001524, allocations: 176.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001084/0.001083, allocations: 90.44 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.766e-05/6.751e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8405/0.8407, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/1.071, allocations: 137.7 MB / 1.098 GB, free: 2.695 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/1.071, allocations: 75.95 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01432/1.085, allocations: 2.825 MB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/1.085, allocations: 0.5312 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.085, allocations: 0.5312 kB / 1.101 GB, free: 15.86 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.0003819/1.086, allocations: 340.8 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/1.086, allocations: 12.72 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/1.086, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.086, allocations: 180.3 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.086, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.086, allocations: 0 / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001077/1.086, allocations: 12 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.655e-05/1.086, allocations: 38.45 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/1.086, allocations: 0 / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/1.086, allocations: 0.5938 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.086, allocations: 0.6875 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/1.086, allocations: 142.9 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/1.087, allocations: 43.11 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/1.087, allocations: 13.64 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/1.087, allocations: 8.797 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.087, allocations: 35.44 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/1.087, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006354/1.087, allocations: 283.3 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/1.088, allocations: 54.81 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/1.088, allocations: 89 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/1.088, allocations: 25.7 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/1.088, allocations: 80.14 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/1.088, allocations: 23.7 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/1.088, allocations: 0 / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001178/1.088, allocations: 314.8 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/1.088, allocations: 14.28 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.056e-05/1.088, allocations: 8 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.446e-05/1.088, allocations: 17.78 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.088, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001407/1.088, allocations: 57.62 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.088, allocations: 4.938 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.088, allocations: 8 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.088, allocations: 0 / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/1.088, allocations: 14.78 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.088, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/1.088, allocations: 0 / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.088, allocations: 8 kB / 1.103 GB, free: 13.85 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 7.913e-05/1.089, allocations: 108.7 kB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001157/1.089, allocations: 57.59 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/1.089, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/1.089, allocations: 74.02 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/1.089, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/1.089, allocations: 4 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/1.089, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/1.089, allocations: 287.9 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.089, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/1.089, allocations: 16 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/1.089, allocations: 4.359 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.089, allocations: 3.875 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/1.089, allocations: 8.031 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.09, allocations: 3.938 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/1.09, allocations: 182 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/1.09, allocations: 89.02 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.09, allocations: 4 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.09, allocations: 64 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/1.09, allocations: 11.95 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/1.09, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.026e-05/1.09, allocations: 75.28 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.6e-07/1.09, allocations: 4 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003687/1.09, allocations: 27.92 kB / 1.103 GB, free: 12.8 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.0006613/1.091, allocations: 0.8032 MB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001211/1.091, allocations: 31.98 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.091, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/1.091, allocations: 15.94 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/1.092, allocations: 8.766 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/1.092, allocations: 186.7 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/1.092, allocations: 0.6807 MB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.78e-05/1.093, allocations: 7.984 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/1.093, allocations: 15.44 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.093, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04201/1.135, allocations: 1.044 MB / 1.106 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003281/1.135, allocations: 184.5 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.558, allocations: 0 / 1.106 GB, free: 9.773 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)