Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8281/0.8281, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009878/0.0009877, allocations: 178.2 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 426.3 MB, free: 8.379 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007963/0.0007965, allocations: 94.3 kB / 0.4945 GB, free: 8.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001633/0.001633, allocations: 270.3 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004237/0.0004237, allocations: 20 kB / 0.662 GB, free: 6.785 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4523, allocations: 107.9 MB / 0.8449 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.4526, allocations: 79.95 kB / 0.8449 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01148/0.4641, allocations: 4.023 MB / 0.8489 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4641, allocations: 4 kB / 0.8489 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4641, allocations: 4 kB / 0.8489 GB, free: 14.16 MB / 0.5261 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.0003864/0.4645, allocations: 339.5 kB / 0.8492 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4646, allocations: 12.03 kB / 0.8492 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.4646, allocations: 4.844 kB / 0.8492 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4648, allocations: 172.3 kB / 0.8494 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.4648, allocations: 8.25 kB / 0.8494 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4648, allocations: 384 / 0.8494 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.465, allocations: 42.25 kB / 0.8494 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.465, allocations: 4.188 kB / 0.8494 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.465, allocations: 3.938 kB / 0.8494 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.465, allocations: 0 / 0.8494 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.565e-05/0.4651, allocations: 15.98 kB / 0.8495 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4653, allocations: 157.7 kB / 0.8496 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.4655, allocations: 46.5 kB / 0.8497 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.4656, allocations: 16.86 kB / 0.8497 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.4656, allocations: 4 kB / 0.8497 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4656, allocations: 34.56 kB / 0.8497 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.4656, allocations: 0 / 0.8497 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006609/0.4663, allocations: 302.6 kB / 0.85 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.4663, allocations: 55.41 kB / 0.85 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.4664, allocations: 97.84 kB / 0.8501 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.4665, allocations: 29.7 kB / 0.8502 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.4665, allocations: 88.14 kB / 0.8503 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4665, allocations: 23.64 kB / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4666, allocations: 0 / 0.8503 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4667, allocations: 314.8 kB / 0.8506 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.4667, allocations: 15.98 kB / 0.8506 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.011e-05/0.4668, allocations: 11.94 kB / 0.8506 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.4668, allocations: 28.86 kB / 0.8506 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.4668, allocations: 3.938 kB / 0.8506 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.725e-05/0.4669, allocations: 69.67 kB / 0.8507 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.467, allocations: 9.344 kB / 0.8507 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.467, allocations: 0 / 0.8507 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.467, allocations: 4 kB / 0.8507 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.4671, allocations: 15.98 kB / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.4671, allocations: 3.938 kB / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.4671, allocations: 0 / 0.8507 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.4671, allocations: 4 kB / 0.8507 GB, free: 12 MB / 0.5261 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 8.088e-05/0.4672, allocations: 109.8 kB / 0.8508 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.4672, allocations: 15.84 kB / 0.8509 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.4674, allocations: 69.64 kB / 0.8509 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4674, allocations: 4.062 kB / 0.8509 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4674, allocations: 4 kB / 0.8509 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4674, allocations: 0 / 0.8509 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.4677, allocations: 311.4 kB / 0.8512 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4677, allocations: 4 kB / 0.8512 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.917e-05/0.4678, allocations: 8 kB / 0.8512 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4678, allocations: 4.031 kB / 0.8512 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.4678, allocations: 7.984 kB / 0.8512 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.4678, allocations: 3.938 kB / 0.8513 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4678, allocations: 0 / 0.8513 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.468, allocations: 172.6 kB / 0.8514 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.4681, allocations: 93.03 kB / 0.8515 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.4681, allocations: 0 / 0.8515 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.786e-05/0.4682, allocations: 8.062 kB / 0.8515 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.4682, allocations: 0 / 0.8515 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.4682, allocations: 7.984 kB / 0.8515 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.491e-05/0.4683, allocations: 79.28 kB / 0.8516 GB, free: 11 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4683, allocations: 0 / 0.8516 GB, free: 11 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002549/0.4685, allocations: 24 kB / 0.8516 GB, free: 10.98 MB / 0.5261 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.0002131/0.4687, allocations: 137.2 kB / 0.8517 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.4689, allocations: 31.92 kB / 0.8518 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4689, allocations: 4 kB / 0.8518 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.4689, allocations: 23.92 kB / 0.8518 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.4691, allocations: 8.547 kB / 0.8518 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.4696, allocations: 223.5 kB / 0.852 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4698, allocations: 0.6809 MB / 0.8527 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.4699, allocations: 4 kB / 0.8527 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.4699, allocations: 11.42 kB / 0.8527 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of SimCode: time 2.1e-07/0.4699, allocations: 0 / 0.8527 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of Templates: time 0.002661/0.4726, allocations: 0.6048 MB / 0.8533 GB, free: 9.211 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)