Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 289.7 MB / 302.2 MB, free: 2.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009655/0.0009655, allocations: 178.2 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 88.53 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.663e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2582, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.714/0.9723, allocations: 139.7 MB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.9726, allocations: 76.88 kB / 1.116 GB, free: 44.14 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01056/0.9832, allocations: 4.003 MB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9832, allocations: 0 / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.9832, allocations: 0 / 1.12 GB, free: 41.82 MB / 0.7448 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.0002733/0.9835, allocations: 337.5 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.9836, allocations: 12.03 kB / 1.121 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.9836, allocations: 7.75 kB / 1.121 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.419e-05/0.9837, allocations: 165.8 kB / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.9837, allocations: 0 / 1.121 GB, free: 41.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.9838, allocations: 7.625 kB / 1.121 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.9839, allocations: 37.92 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.9839, allocations: 0 / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.9839, allocations: 0 / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9839, allocations: 4 kB / 1.121 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.623e-05/0.984, allocations: 4 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.9841, allocations: 172.9 kB / 1.121 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.9843, allocations: 41.72 kB / 1.121 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.9843, allocations: 16.67 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.9843, allocations: 0 / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.9844, allocations: 34.56 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.9844, allocations: 4 kB / 1.121 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0005501/0.9849, allocations: 303.5 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.985, allocations: 51.41 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/0.985, allocations: 92.66 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.985, allocations: 25.7 kB / 1.121 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.726e-05/0.985, allocations: 88.08 kB / 1.122 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.9851, allocations: 23.02 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.9851, allocations: 7.562 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.9851, allocations: 323.2 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.9852, allocations: 7.875 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/0.9852, allocations: 12.98 kB / 1.122 GB, free: 39.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.775e-05/0.9852, allocations: 11.97 kB / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.9852, allocations: 0 / 1.122 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.697e-05/0.9853, allocations: 61.45 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.9853, allocations: 4 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9853, allocations: 0 / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.9854, allocations: 0.75 kB / 1.122 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.717e-05/0.9854, allocations: 16.81 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.9854, allocations: 0 / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.9855, allocations: 7.875 kB / 1.122 GB, free: 39.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.9855, allocations: 8.328 kB / 1.122 GB, free: 39.85 MB / 0.7448 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 (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 4.065e-05/0.9855, allocations: 104.9 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.9855, allocations: 4 kB / 1.122 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.9857, allocations: 70.28 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.9857, allocations: 3.516 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.9857, allocations: 0 / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9857, allocations: 4 kB / 1.122 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.9859, allocations: 321.5 kB / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.9859, allocations: 0 / 1.122 GB, free: 39.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.986, allocations: 8 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.986, allocations: 0.5 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.986, allocations: 7.438 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.986, allocations: 0 / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.986, allocations: 4.875 kB / 1.122 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.9862, allocations: 192.1 kB / 1.123 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.9862, allocations: 81.8 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.9863, allocations: 4.031 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.9863, allocations: 4.562 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.9863, allocations: 4 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.9864, allocations: 7.172 kB / 1.123 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.9864, allocations: 87.3 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9864, allocations: 0 / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002334/0.9866, allocations: 24 kB / 1.123 GB, free: 38.91 MB / 0.7448 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 () * 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.0001749/0.9868, allocations: 135.2 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.354e-05/0.9869, allocations: 32.17 kB / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9869, allocations: 0 / 1.123 GB, free: 38.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.9869, allocations: 20.88 kB / 1.123 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.9871, allocations: 64 / 1.123 GB, free: 38.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.9874, allocations: 154 kB / 1.123 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.9875, allocations: 0.6844 MB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.9876, allocations: 5.453 kB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.852e-05/0.9876, allocations: 15.44 kB / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of SimCode: time 2.51e-07/0.9876, allocations: 0 / 1.124 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of Templates: time 0.002327/0.9899, allocations: 0.5792 MB / 1.124 GB, free: 37.54 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)