Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7309/0.7309, allocations: 127.4 MB / 134.9 MB, free: 3.453 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.001206/0.001206, allocations: 170.8 kB / 164.6 MB, free: 11.59 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.657/1.657, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0009657/0.0009659, allocations: 92.3 kB / 476.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.108e-05/2.133e-05, allocations: 2.688 kB / 0.5467 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 76.77 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.2884, allocations: 102.8 MB / 0.7221 GB, free: 4.039 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.2887, allocations: 83.94 kB / 0.7221 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.3025, allocations: 4.824 MB / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3025, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3026, allocations: 0 / 0.7268 GB, free: 15.12 MB / 0.5105 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.000358/0.3029, allocations: 354.4 kB / 0.7272 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.303, allocations: 8.031 kB / 0.7272 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.303, allocations: 7.953 kB / 0.7272 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3032, allocations: 159.1 kB / 0.7273 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.3032, allocations: 8 kB / 0.7274 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3032, allocations: 7.891 kB / 0.7274 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.357e-05/0.3033, allocations: 16 kB / 0.7274 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.605e-05/0.3034, allocations: 49.62 kB / 0.7274 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3034, allocations: 3.938 kB / 0.7274 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3034, allocations: 0 / 0.7274 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3034, allocations: 3.953 kB / 0.7274 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.3036, allocations: 142.2 kB / 0.7276 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.335e-05/0.3037, allocations: 54.56 kB / 0.7276 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.3037, allocations: 28.86 kB / 0.7276 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.304, allocations: 93.09 kB / 0.7277 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.304, allocations: 31.28 kB / 0.7278 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.304, allocations: 0 / 0.7278 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.003545/0.3076, allocations: 0.8992 MB / 0.7286 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.3076, allocations: 55.41 kB / 0.7287 GB, free: 12.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.949e-05/0.3077, allocations: 88.95 kB / 0.7288 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.3077, allocations: 29.64 kB / 0.7288 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.3078, allocations: 84.25 kB / 0.7289 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.3078, allocations: 39.47 kB / 0.7289 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3078, allocations: 0 / 0.7289 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.308, allocations: 318.8 kB / 0.7292 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.308, allocations: 24 kB / 0.7293 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.652e-05/0.3081, allocations: 30.75 kB / 0.7293 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.543e-05/0.3082, allocations: 31.97 kB / 0.7293 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3082, allocations: 4 kB / 0.7293 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001929/0.3084, allocations: 109.5 kB / 0.7294 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.3084, allocations: 8.094 kB / 0.7294 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3084, allocations: 7.938 kB / 0.7294 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3084, allocations: 0 / 0.7294 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.3088, allocations: 47.95 kB / 0.7295 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.3088, allocations: 4 kB / 0.7295 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.309, allocations: 27.97 kB / 0.7295 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.3091, allocations: 15.94 kB / 0.7295 GB, free: 12.07 MB / 0.5105 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 (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 8.454e-05/0.3092, allocations: 108.9 kB / 0.7296 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001731/0.3093, allocations: 97.52 kB / 0.7297 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.3094, allocations: 4 kB / 0.7297 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.3094, allocations: 8.406 kB / 0.7297 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3094, allocations: 4 kB / 0.7297 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3094, allocations: 3.953 kB / 0.7297 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.3094, allocations: 7.969 kB / 0.7298 GB, free: 11.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.3099, allocations: 359.2 kB / 0.7301 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3099, allocations: 0 / 0.7301 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/0.3104, allocations: 51.95 kB / 0.7301 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3104, allocations: 0 / 0.7301 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3104, allocations: 4 kB / 0.7301 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3104, allocations: 3.953 kB / 0.7302 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3104, allocations: 0 / 0.7302 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.3108, allocations: 243.4 kB / 0.7304 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.3108, allocations: 81.14 kB / 0.7305 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3109, allocations: 3.984 kB / 0.7305 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.3112, allocations: 27.97 kB / 0.7305 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.3112, allocations: 15.88 kB / 0.7305 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3112, allocations: 16.06 kB / 0.7305 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.3113, allocations: 75.28 kB / 0.7306 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3113, allocations: 0 / 0.7306 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002485/0.3115, allocations: 20 kB / 0.7306 GB, free: 10.87 MB / 0.5105 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 () * 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.0006508/0.3122, allocations: 0.7929 MB / 0.7314 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.3124, allocations: 75.92 kB / 0.7315 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3124, allocations: 0 / 0.7315 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.227e-05/0.3125, allocations: 47.86 kB / 0.7315 GB, free: 9.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.3126, allocations: 11.95 kB / 0.7315 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3141, allocations: 405.7 kB / 0.7319 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3144, allocations: 0.6846 MB / 0.7326 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001392/0.3145, allocations: 19.98 kB / 0.7326 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.3146, allocations: 23.42 kB / 0.7326 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.3146, allocations: 0 / 0.7326 GB, free: 8.727 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.3365, allocations: 1.52 MB / 0.7341 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/0.3368, allocations: 195.1 kB / 0.7343 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/1.852, allocations: 3.969 kB / 0.7343 GB, free: 7.043 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)