Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.802/1.802, allocations: 292.6 MB / 307.5 MB, free: 5.082 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.001276/0.001276, allocations: 181 kB / 377.1 MB, free: 1.449 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.761/1.761, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0009444/0.0009443, allocations: 92.73 kB / 0.7509 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 0.8749 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.281, allocations: 116.3 MB / 0.9884 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7867/1.068, allocations: 139.9 MB / 1.125 GB, free: 35.07 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/1.068, allocations: 77.5 kB / 1.125 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01229/1.08, allocations: 4.502 MB / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.344e-06/1.08, allocations: 4 kB / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.907e-06/1.08, allocations: 0 / 1.13 GB, free: 31.69 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004079/1.081, allocations: 355 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.081, allocations: 12.02 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/1.081, allocations: 30.56 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/1.081, allocations: 9.812 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/1.081, allocations: 170.4 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/1.081, allocations: 5.203 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/1.081, allocations: 8 kB / 1.13 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/1.081, allocations: 50.8 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.081, allocations: 0.625 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.081, allocations: 1.719 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.081, allocations: 4 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.62e-05/1.081, allocations: 15.33 kB / 1.13 GB, free: 30.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/1.082, allocations: 168.5 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/1.082, allocations: 57.95 kB / 1.13 GB, free: 30.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/1.082, allocations: 11.17 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/1.082, allocations: 31.19 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/1.082, allocations: 0 / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001167/1.083, allocations: 0.5923 MB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/1.083, allocations: 55.41 kB / 1.131 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/1.083, allocations: 89.84 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.083, allocations: 25.7 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.954e-05/1.083, allocations: 84.14 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-05/1.083, allocations: 42.88 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-06/1.083, allocations: 0 / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.083, allocations: 322.3 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/1.083, allocations: 27.5 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/1.083, allocations: 23.28 kB / 1.132 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/1.084, allocations: 24 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/1.084, allocations: 0.5625 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001222/1.084, allocations: 93.56 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.084, allocations: 4 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.084, allocations: 0 / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/1.084, allocations: 0 / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/1.084, allocations: 23.88 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.084, allocations: 0.5625 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/1.084, allocations: 7.938 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/1.084, allocations: 8.062 kB / 1.132 GB, free: 29.17 MB / 0.7292 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.561e-05/1.084, allocations: 121.7 kB / 1.132 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.394e-05/1.084, allocations: 7.906 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/1.084, allocations: 102.5 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.084, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.084, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.084, allocations: 0 / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/1.085, allocations: 358.2 kB / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.085, allocations: 0 / 1.132 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.085, allocations: 23.28 kB / 1.132 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.085, allocations: 0.625 kB / 1.132 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/1.085, allocations: 4.844 kB / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/1.085, allocations: 0 / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.085, allocations: 0 / 1.132 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/1.085, allocations: 227.2 kB / 1.133 GB, free: 28.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.569e-05/1.085, allocations: 81.83 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.085, allocations: 0 / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/1.085, allocations: 11.28 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/1.085, allocations: 0 / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.126e-06/1.085, allocations: 7.328 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.588e-05/1.085, allocations: 80.22 kB / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.085, allocations: 0 / 1.133 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003014/1.085, allocations: 43.94 kB / 1.133 GB, free: 28.07 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0004833/1.086, allocations: 0.8038 MB / 1.134 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001327/1.086, allocations: 55.73 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.086, allocations: 0 / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/1.086, allocations: 35.78 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/1.086, allocations: 8.406 kB / 1.134 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/1.087, allocations: 0.6586 MB / 1.134 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/1.087, allocations: 0.6945 MB / 1.135 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.164e-05/1.087, allocations: 5.719 kB / 1.135 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/1.087, allocations: 22.77 kB / 1.135 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.088, allocations: 0 / 1.135 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/1.101, allocations: 1.772 MB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.101, allocations: 211.9 kB / 1.137 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.894, allocations: 0.8438 kB / 1.137 GB, free: 24.63 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)