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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7499/0.7499, allocations: 128.8 MB / 143.7 MB, free: 2.34 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.001193/0.001193, allocations: 189.9 kB / 173.8 MB, free: 6.145 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.432/1.432, allocations: 205.4 MB / 409 MB, free: 10.51 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.0008539/0.0008539, allocations: 90.84 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8.594 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 76.77 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.243, allocations: 103.4 MB / 0.7363 GB, free: 6.992 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.2433, allocations: 83.94 kB / 0.7364 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01221/0.2555, allocations: 4.312 MB / 0.7406 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2555, allocations: 0 / 0.7406 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.2555, allocations: 0 / 0.7406 GB, free: 2.59 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003218/0.2559, allocations: 343.3 kB / 0.741 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2559, allocations: 8.031 kB / 0.741 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2559, allocations: 11.86 kB / 0.741 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2561, allocations: 167.1 kB / 0.7411 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.2561, allocations: 0 / 0.7411 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.2561, allocations: 4 kB / 0.7411 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000451/0.2566, allocations: 81.64 kB / 0.7412 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2566, allocations: 3.938 kB / 0.7412 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2566, allocations: 8 kB / 0.7412 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2566, allocations: 7.953 kB / 0.7412 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.257, allocations: 59.92 kB / 0.7413 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2571, allocations: 157.7 kB / 0.7414 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004793/0.2576, allocations: 90.5 kB / 0.7415 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.2579, allocations: 97.17 kB / 0.7416 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.2579, allocations: 38.56 kB / 0.7417 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.2579, allocations: 7.938 kB / 0.7417 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.00234/0.2602, allocations: 0.5917 MB / 0.7422 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.2603, allocations: 59.36 kB / 0.7423 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.674e-05/0.2604, allocations: 93 kB / 0.7424 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.2604, allocations: 29.7 kB / 0.7424 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.069e-05/0.2604, allocations: 84.08 kB / 0.7425 GB, free: 424 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.2605, allocations: 19.7 kB / 0.7425 GB, free: 404 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.2605, allocations: 4 kB / 0.7425 GB, free: 400 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.2606, allocations: 318.8 kB / 0.7428 GB, free: 72 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.2608, allocations: 43.97 kB / 0.7429 GB, free: 28 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2459/0.5067, allocations: 37.25 kB / 0.7429 GB, free: 110 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.5069, allocations: 39.95 kB / 0.7429 GB, free: 110 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5069, allocations: 1.406 kB / 0.7429 GB, free: 110 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004142/0.5074, allocations: 130 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5074, allocations: 8 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.5074, allocations: 0 / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.5074, allocations: 1.406 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.5076, allocations: 30.66 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.5076, allocations: 0 / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.5078, allocations: 25.56 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.5078, allocations: 1.875 kB / 0.7431 GB, free: 109.9 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 () * Number of clocked 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 6.52e-05/0.5079, allocations: 115.8 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.5079, allocations: 3.375 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.5079, allocations: 7.5 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5079, allocations: 2.891 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.508, allocations: 1.969 kB / 0.7433 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.508, allocations: 1.594 kB / 0.7433 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007194/0.5087, allocations: 408.7 kB / 0.7436 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.5087, allocations: 3.719 kB / 0.7436 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.5089, allocations: 28.47 kB / 0.7437 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5089, allocations: 1.562 kB / 0.7437 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.5089, allocations: 4.25 kB / 0.7437 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5089, allocations: 0 / 0.7437 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5089, allocations: 2.109 kB / 0.7437 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/0.5096, allocations: 294.2 kB / 0.744 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.5096, allocations: 85.05 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.5097, allocations: 1.5 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.5099, allocations: 23.08 kB / 0.7441 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.5099, allocations: 9.891 kB / 0.7441 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.5099, allocations: 5.906 kB / 0.7441 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.044e-05/0.5099, allocations: 80.05 kB / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5099, allocations: 0 / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002264/0.5102, allocations: 16.34 kB / 0.7442 GB, free: 109.2 MB / 0.5105 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 () * Number of clocked 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.0001205/0.5103, allocations: 113.5 kB / 0.7443 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.5107, allocations: 99.27 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5107, allocations: 3.344 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.5109, allocations: 46.45 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.511, allocations: 8.297 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008436/0.5119, allocations: 310.3 kB / 0.7447 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.512, allocations: 0.6934 MB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.9e-05/0.5121, allocations: 11.03 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.5121, allocations: 13.75 kB / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.1e-07/0.5121, allocations: 0 / 0.7454 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.002458/0.5146, allocations: 0.741 MB / 0.7462 GB, free: 108.2 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)