Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.838/1.838, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001504/0.001504, allocations: 184.8 kB / 366.7 MB, free: 1.641 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.932/1.932, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.000899/0.0008988, allocations: 87.38 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.704e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8324, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2872/1.12, allocations: 139 MB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000431/1.12, allocations: 83.88 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01733/1.138, allocations: 3.983 MB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.797e-06/1.138, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.138, allocations: 2.781 kB / 1.113 GB, free: 7.078 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.0006258/1.138, allocations: 342.5 kB / 1.113 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.673e-05/1.138, allocations: 15.47 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.843e-05/1.139, allocations: 0 / 1.113 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.139, allocations: 166.9 kB / 1.114 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/1.139, allocations: 4 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/1.139, allocations: 3.938 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001298/1.139, allocations: 11.98 kB / 1.114 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/1.139, allocations: 33.7 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.139, allocations: 0 / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/1.139, allocations: 0 / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/1.139, allocations: 7.547 kB / 1.114 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/1.14, allocations: 142.1 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/1.14, allocations: 38.61 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/1.14, allocations: 16.86 kB / 1.114 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.099e-05/1.14, allocations: 3.938 kB / 1.114 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/1.14, allocations: 37.91 kB / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 6.703e-06/1.14, allocations: 0 / 1.114 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001099/1.141, allocations: 279.6 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.41e-05/1.141, allocations: 51.41 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/1.141, allocations: 94.17 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/1.142, allocations: 25.7 kB / 1.114 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/1.142, allocations: 84.14 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-05/1.142, allocations: 20.19 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/1.142, allocations: 0 / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002924/1.142, allocations: 319.5 kB / 1.115 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/1.142, allocations: 8.906 kB / 1.115 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.081e-05/1.142, allocations: 8 kB / 1.115 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/1.142, allocations: 12.66 kB / 1.115 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.142, allocations: 6.078 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/1.142, allocations: 60.56 kB / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/1.142, allocations: 4 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.142, allocations: 0 / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.142, allocations: 0 / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/1.143, allocations: 19.92 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/1.143, allocations: 4 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/1.143, allocations: 1.781 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/1.143, allocations: 8 kB / 1.115 GB, free: 5.062 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 0.0001644/1.143, allocations: 101 kB / 1.115 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001569/1.143, allocations: 64.23 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/1.143, allocations: 0 / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002409/1.143, allocations: 66.03 kB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.143, allocations: 0 / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.143, allocations: 4 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.143, allocations: 3.984 kB / 1.115 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/1.144, allocations: 280 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/1.144, allocations: 3.984 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/1.144, allocations: 11.94 kB / 1.115 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.144, allocations: 4 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/1.144, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.144, allocations: 3.094 kB / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.144, allocations: 0 / 1.115 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/1.145, allocations: 192 kB / 1.116 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/1.145, allocations: 85.12 kB / 1.116 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/1.145, allocations: 3.938 kB / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.145, allocations: 0 / 1.116 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/1.145, allocations: 12.3 kB / 1.116 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/1.145, allocations: 8 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.122e-05/1.145, allocations: 87.28 kB / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.81e-07/1.145, allocations: 0 / 1.116 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000472/1.146, allocations: 20 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB 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.001259/1.147, allocations: 0.8111 MB / 1.117 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000197/1.147, allocations: 31.94 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.147, allocations: 0 / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.135e-05/1.147, allocations: 12 kB / 1.117 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00028/1.147, allocations: 3.953 kB / 1.117 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/1.148, allocations: 197.8 kB / 1.117 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006733/1.149, allocations: 0.6807 MB / 1.117 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.815e-05/1.149, allocations: 4 kB / 1.117 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/1.149, allocations: 15.42 kB / 1.117 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of SimCode: time 5.71e-07/1.149, allocations: 0 / 1.117 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03253/1.182, allocations: 1.031 MB / 1.118 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/1.182, allocations: 189.2 kB / 1.119 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.953, allocations: 0 / 1.119 GB, free: 0.9961 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)