Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8451/0.8451, allocations: 140.1 MB / 156 MB, free: 8.395 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.0009859/0.0009859, allocations: 164.6 kB / 188.5 MB, free: 9.012 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.369/1.369, allocations: 205.4 MB / 426.3 MB, free: 8.148 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.0007511/0.0007512, allocations: 93.27 kB / 0.4945 GB, free: 8.078 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00162/0.00162, allocations: 273.4 kB / 0.5728 GB, free: 66.14 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004891, allocations: 19.98 kB / 0.662 GB, free: 6.723 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3426, allocations: 79.29 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4685, allocations: 108.7 MB / 0.8456 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4689, allocations: 86.33 kB / 0.8457 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01263/0.4815, allocations: 4.306 MB / 0.8499 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.315e-06/0.4816, allocations: 0 / 0.8499 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.4816, allocations: 4 kB / 0.8499 GB, free: 13.04 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004637/0.4821, allocations: 375.3 kB / 0.8503 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4821, allocations: 8.031 kB / 0.8503 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.4822, allocations: 8.922 kB / 0.8503 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4823, allocations: 168.3 kB / 0.8505 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4824, allocations: 12.3 kB / 0.8505 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.4824, allocations: 8.375 kB / 0.8505 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4826, allocations: 82.16 kB / 0.8506 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4826, allocations: 4.188 kB / 0.8506 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.4826, allocations: 3.938 kB / 0.8506 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.4826, allocations: 0 / 0.8506 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.4829, allocations: 67.95 kB / 0.8506 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.4834, allocations: 324.6 kB / 0.8509 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.4837, allocations: 90.53 kB / 0.851 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4838, allocations: 36.83 kB / 0.8511 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.4839, allocations: 0 / 0.8511 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.4839, allocations: 38.56 kB / 0.8511 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.4839, allocations: 0 / 0.8511 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.001699/0.4856, allocations: 0.6696 MB / 0.8518 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.4857, allocations: 55.34 kB / 0.8518 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.668e-05/0.4858, allocations: 101.8 kB / 0.8519 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.4858, allocations: 29.7 kB / 0.8519 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4858, allocations: 92.03 kB / 0.852 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.362e-05/0.4859, allocations: 39.44 kB / 0.8521 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.4859, allocations: 4 kB / 0.8521 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.486, allocations: 314.8 kB / 0.8524 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4862, allocations: 40.06 kB / 0.8524 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4863, allocations: 39.92 kB / 0.8524 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.4865, allocations: 82.7 kB / 0.8525 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4866, allocations: 0 / 0.8525 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000294/0.4869, allocations: 125.6 kB / 0.8526 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4869, allocations: 8 kB / 0.8526 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.4869, allocations: 0 / 0.8526 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4869, allocations: 0 / 0.8526 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4871, allocations: 39.97 kB / 0.8527 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4871, allocations: 0 / 0.8527 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.4872, allocations: 7.938 kB / 0.8527 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4872, allocations: 4 kB / 0.8527 GB, free: 9.898 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 (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 9.52e-05/0.4873, allocations: 117.8 kB / 0.8528 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.4873, allocations: 3.984 kB / 0.8528 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003546/0.4877, allocations: 145.4 kB / 0.8529 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4877, allocations: 0 / 0.8529 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4877, allocations: 192 / 0.8529 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4877, allocations: 3.938 kB / 0.8529 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005352/0.4883, allocations: 402.3 kB / 0.8533 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4883, allocations: 0 / 0.8533 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4884, allocations: 23.98 kB / 0.8534 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4884, allocations: 0 / 0.8534 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4885, allocations: 11.94 kB / 0.8534 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4885, allocations: 0 / 0.8534 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4885, allocations: 3.984 kB / 0.8534 GB, free: 9.129 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004819/0.489, allocations: 267.6 kB / 0.8536 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.489e-05/0.489, allocations: 81.02 kB / 0.8537 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.489, allocations: 11.97 kB / 0.8537 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4892, allocations: 12 kB / 0.8537 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.4892, allocations: 7.984 kB / 0.8537 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4892, allocations: 4 kB / 0.8537 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.4893, allocations: 87.27 kB / 0.8538 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4893, allocations: 0 / 0.8538 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003064/0.4896, allocations: 40 kB / 0.8539 GB, free: 8.594 MB / 0.5261 GB 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.0002761/0.4899, allocations: 145 kB / 0.854 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003029/0.4902, allocations: 92.52 kB / 0.8541 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4902, allocations: 0 / 0.8541 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.4903, allocations: 51.91 kB / 0.8541 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4906, allocations: 8 kB / 0.8541 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.4913, allocations: 373.2 kB / 0.8545 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.4915, allocations: 0.6975 MB / 0.8552 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.145e-05/0.4916, allocations: 8.656 kB / 0.8552 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.4916, allocations: 15.44 kB / 0.8552 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.4916, allocations: 0 / 0.8552 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of Templates: time 0.00327/0.4949, allocations: 1.082 MB / 0.8563 GB, free: 6.117 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)