Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7087/0.7087, allocations: 127.4 MB / 134.9 MB, free: 3.727 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 173 kB / 164.6 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.2 MB / 399.5 MB, free: 5.93 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007649/0.0007647, allocations: 90.41 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.194e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/0.6561, allocations: 102.9 MB / 0.7221 GB, free: 12.73 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.6565, allocations: 89.8 kB / 0.7222 GB, free: 12.68 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01206/0.6685, allocations: 4.272 MB / 0.7264 GB, free: 9.152 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.6686, allocations: 4 kB / 0.7264 GB, free: 9.148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.6686, allocations: 4 kB / 0.7264 GB, free: 9.145 MB / 490.7 MB 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.0003175/0.6689, allocations: 341.4 kB / 0.7267 GB, free: 8.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.669, allocations: 12.02 kB / 0.7267 GB, free: 8.758 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.669, allocations: 3.953 kB / 0.7267 GB, free: 8.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.6691, allocations: 163.1 kB / 0.7269 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.6692, allocations: 0 / 0.7269 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.6692, allocations: 0.7812 kB / 0.7269 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.231e-05/0.6693, allocations: 15 kB / 0.7269 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.304e-05/0.6693, allocations: 44.98 kB / 0.7269 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.6694, allocations: 0 / 0.7269 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.6694, allocations: 3.953 kB / 0.7269 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.6694, allocations: 4 kB / 0.7269 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.6695, allocations: 137.2 kB / 0.7271 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.6697, allocations: 33.89 kB / 0.7271 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.964e-05/0.6698, allocations: 16.3 kB / 0.7271 GB, free: 8.266 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.67, allocations: 100.5 kB / 0.7272 GB, free: 8.152 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.67, allocations: 42.5 kB / 0.7273 GB, free: 8.102 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.67, allocations: 0 / 0.7273 GB, free: 8.102 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.001085/0.6711, allocations: 381.4 kB / 0.7276 GB, free: 7.699 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.6711, allocations: 51.41 kB / 0.7277 GB, free: 7.637 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.6712, allocations: 93.06 kB / 0.7278 GB, free: 7.543 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.6712, allocations: 25.7 kB / 0.7278 GB, free: 7.512 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.6713, allocations: 80.14 kB / 0.7279 GB, free: 7.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.6713, allocations: 26.98 kB / 0.7279 GB, free: 7.406 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6713, allocations: 0 / 0.7279 GB, free: 7.406 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6714, allocations: 314.8 kB / 0.7282 GB, free: 7.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.6715, allocations: 13.88 kB / 0.7282 GB, free: 7.082 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.6715, allocations: 14.56 kB / 0.7282 GB, free: 7.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.892e-05/0.6716, allocations: 17.8 kB / 0.7282 GB, free: 7.059 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6716, allocations: 0 / 0.7282 GB, free: 7.059 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000118/0.6717, allocations: 71.53 kB / 0.7283 GB, free: 6.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.6717, allocations: 7.984 kB / 0.7283 GB, free: 6.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.6717, allocations: 4 kB / 0.7283 GB, free: 6.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.6718, allocations: 4 kB / 0.7283 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.6719, allocations: 31.86 kB / 0.7283 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.672, allocations: 0 / 0.7283 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.6721, allocations: 19.97 kB / 0.7284 GB, free: 6.926 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.6721, allocations: 0 / 0.7284 GB, free: 6.926 MB / 490.7 MB 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.378e-05/0.6722, allocations: 112.9 kB / 0.7285 GB, free: 6.809 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001126/0.6723, allocations: 67.67 kB / 0.7285 GB, free: 6.746 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.6723, allocations: 3.906 kB / 0.7285 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.6724, allocations: 4.406 kB / 0.7285 GB, free: 6.742 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.6724, allocations: 4 kB / 0.7285 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.6724, allocations: 0 / 0.7285 GB, free: 6.738 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6724, allocations: 3.953 kB / 0.7285 GB, free: 6.734 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.6729, allocations: 320.7 kB / 0.7289 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.6729, allocations: 0 / 0.7289 GB, free: 6.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.6731, allocations: 31.97 kB / 0.7289 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.6731, allocations: 0 / 0.7289 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.6731, allocations: 0 / 0.7289 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6731, allocations: 0 / 0.7289 GB, free: 6.359 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.6731, allocations: 7.953 kB / 0.7289 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.6734, allocations: 213.8 kB / 0.7291 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.6735, allocations: 85 kB / 0.7292 GB, free: 6.039 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.6735, allocations: 8.016 kB / 0.7292 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.6737, allocations: 19.94 kB / 0.7292 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.6737, allocations: 3.984 kB / 0.7292 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6737, allocations: 8.062 kB / 0.7292 GB, free: 6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.488e-05/0.6738, allocations: 82.77 kB / 0.7293 GB, free: 5.922 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6738, allocations: 0 / 0.7293 GB, free: 5.922 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.674, allocations: 12 kB / 0.7293 GB, free: 5.91 MB / 490.7 MB 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.0005456/0.6745, allocations: 0.8168 MB / 0.7301 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.6747, allocations: 37.11 kB / 0.7301 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6747, allocations: 0 / 0.7301 GB, free: 5.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.6747, allocations: 27.42 kB / 0.7302 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.6749, allocations: 1.016 kB / 0.7302 GB, free: 5.027 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.6757, allocations: 244.9 kB / 0.7304 GB, free: 4.762 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.6759, allocations: 0.6846 MB / 0.7311 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.676, allocations: 8 kB / 0.7311 GB, free: 4.043 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.6761, allocations: 18.8 kB / 0.7311 GB, free: 4.027 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6761, allocations: 3.938 kB / 0.7311 GB, free: 4.023 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.6943, allocations: 1.147 MB / 0.7322 GB, free: 2.906 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/0.6946, allocations: 189.6 kB / 0.7324 GB, free: 2.715 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.266, allocations: 5.781 kB / 0.7324 GB, free: 2.715 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)