Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.453/0.453, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 348.4 MB, free: 4.988 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008175/0.0008174, allocations: 99.36 kB / 420.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 12 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 71.02 MB / 0.5595 GB, free: 43.81 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3973, allocations: 101.7 MB / 0.6588 GB, free: 7.781 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.3976, allocations: 86.92 kB / 0.6589 GB, free: 7.699 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.4095, allocations: 4.312 MB / 0.6631 GB, free: 3.383 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4096, allocations: 0 / 0.6631 GB, free: 3.383 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.4096, allocations: 0 / 0.6631 GB, free: 3.383 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003786/0.41, allocations: 379.2 kB / 0.6635 GB, free: 2.961 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.41, allocations: 12.03 kB / 0.6635 GB, free: 2.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.41, allocations: 12.83 kB / 0.6635 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.473e-05/0.4101, allocations: 160.4 kB / 0.6637 GB, free: 2.742 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4102, allocations: 16.38 kB / 0.6637 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4102, allocations: 8.375 kB / 0.6637 GB, free: 2.719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.4104, allocations: 82.22 kB / 0.6638 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4104, allocations: 4.172 kB / 0.6638 GB, free: 2.629 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.4105, allocations: 3.938 kB / 0.6638 GB, free: 2.625 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4105, allocations: 7.938 kB / 0.6638 GB, free: 2.617 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.4107, allocations: 60.52 kB / 0.6638 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.4112, allocations: 332.6 kB / 0.6641 GB, free: 2.184 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.4114, allocations: 90.47 kB / 0.6642 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4115, allocations: 36.83 kB / 0.6643 GB, free: 2.047 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.4116, allocations: 0 / 0.6643 GB, free: 2.047 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.4116, allocations: 34.56 kB / 0.6643 GB, free: 2.004 MB / 474.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4116, allocations: 0 / 0.6643 GB, free: 2.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=11): time 0.001431/0.4131, allocations: 0.6696 MB / 0.665 GB, free: 1.242 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4131, allocations: 55.41 kB / 0.665 GB, free: 1.176 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.773e-05/0.4132, allocations: 105.8 kB / 0.6651 GB, free: 1.062 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.4132, allocations: 25.7 kB / 0.6651 GB, free: 1.031 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.4132, allocations: 96.03 kB / 0.6652 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.4133, allocations: 35.45 kB / 0.6653 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4133, allocations: 0 / 0.6653 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.4134, allocations: 318.8 kB / 0.6656 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.4135, allocations: 35.97 kB / 0.6656 GB, free: 0.543 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.4136, allocations: 42.3 kB / 0.6656 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.4138, allocations: 76.83 kB / 0.6657 GB, free: 436 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.4139, allocations: 0 / 0.6657 GB, free: 436 kB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000273/0.4141, allocations: 129.7 kB / 0.6658 GB, free: 300 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4142, allocations: 4.094 kB / 0.6658 GB, free: 296 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4142, allocations: 3.938 kB / 0.6658 GB, free: 292 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4142, allocations: 4 kB / 0.6658 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4143, allocations: 31.91 kB / 0.6659 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.4143, allocations: 0 / 0.6659 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.085e-05/0.4144, allocations: 19.94 kB / 0.6659 GB, free: 236 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.4144, allocations: 4 kB / 0.6659 GB, free: 232 kB / 474.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 () * 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 6.769e-05/0.4145, allocations: 109.8 kB / 0.666 GB, free: 112 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.4145, allocations: 7.984 kB / 0.666 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4149, allocations: 141.4 kB / 0.6661 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4149, allocations: 4 kB / 0.6662 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4149, allocations: 0 / 0.6662 GB, free: 15.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4149, allocations: 3.938 kB / 0.6662 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.4154, allocations: 394.4 kB / 0.6665 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4154, allocations: 0 / 0.6665 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.4156, allocations: 35.92 kB / 0.6666 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4156, allocations: 192 / 0.6666 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4156, allocations: 3.938 kB / 0.6666 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.4156, allocations: 8 kB / 0.6666 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.4156, allocations: 3.984 kB / 0.6666 GB, free: 15.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.4161, allocations: 255.5 kB / 0.6668 GB, free: 15.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.4161, allocations: 85.05 kB / 0.6669 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4161, allocations: 3.938 kB / 0.6669 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.4162, allocations: 15.94 kB / 0.6669 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.4163, allocations: 7.984 kB / 0.6669 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4163, allocations: 4.062 kB / 0.6669 GB, free: 15.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.244e-05/0.4163, allocations: 87.27 kB / 0.667 GB, free: 14.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4163, allocations: 0 / 0.667 GB, free: 14.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002596/0.4166, allocations: 40 kB / 0.6671 GB, free: 14.93 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001851/0.4168, allocations: 143.1 kB / 0.6672 GB, free: 14.78 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.4171, allocations: 94.64 kB / 0.6673 GB, free: 14.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4171, allocations: 0 / 0.6673 GB, free: 14.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4172, allocations: 51.91 kB / 0.6673 GB, free: 14.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4175, allocations: 12.16 kB / 0.6673 GB, free: 14.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.4181, allocations: 378.1 kB / 0.6677 GB, free: 14.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/0.4183, allocations: 0.6969 MB / 0.6684 GB, free: 13.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.4184, allocations: 16.66 kB / 0.6684 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.4184, allocations: 11.44 kB / 0.6684 GB, free: 13.47 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4184, allocations: 0 / 0.6684 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Templates: time 0.002955/0.4214, allocations: 1.074 MB / 0.6695 GB, free: 12.44 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)