Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 4.0.0+maint.om/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7851/0.7851, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 176.8 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 88.11 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001861, allocations: 281.8 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.313e-05, allocations: 4 kB / 0.6765 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4782/0.4782, allocations: 82.78 MB / 0.7574 GB, free: 31.96 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.628, allocations: 108.9 MB / 0.8637 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.6283, allocations: 83.83 kB / 0.8638 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01312/0.6414, allocations: 4.538 MB / 0.8682 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6415, allocations: 0 / 0.8682 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.6415, allocations: 4 kB / 0.8682 GB, free: 14.33 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003869/0.6419, allocations: 350.4 kB / 0.8685 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.6419, allocations: 8.031 kB / 0.8685 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.642, allocations: 4 kB / 0.8685 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.6421, allocations: 170.9 kB / 0.8687 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.6422, allocations: 4 kB / 0.8687 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.6422, allocations: 0 / 0.8687 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.146e-05/0.6423, allocations: 19.98 kB / 0.8687 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.6424, allocations: 45.69 kB / 0.8688 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6424, allocations: 3.938 kB / 0.8688 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.6425, allocations: 7.938 kB / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6425, allocations: 0 / 0.8688 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.6427, allocations: 138.2 kB / 0.8689 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.6428, allocations: 46.58 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.6428, allocations: 36.8 kB / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.6429, allocations: 0 / 0.869 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.6429, allocations: 34.56 kB / 0.869 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.6429, allocations: 0 / 0.869 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0009363/0.6439, allocations: 0.5107 MB / 0.8695 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.6439, allocations: 55.41 kB / 0.8696 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.644, allocations: 89 kB / 0.8697 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.644, allocations: 25.7 kB / 0.8697 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.6441, allocations: 88.25 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.6441, allocations: 35.41 kB / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.6441, allocations: 0 / 0.8698 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6443, allocations: 322.8 kB / 0.8701 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.6443, allocations: 12 kB / 0.8701 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.083e-05/0.6443, allocations: 20 kB / 0.8702 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.537e-05/0.6444, allocations: 19.98 kB / 0.8702 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.6444, allocations: 0 / 0.8702 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001506/0.6446, allocations: 99.73 kB / 0.8703 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6446, allocations: 8 kB / 0.8703 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6446, allocations: 0 / 0.8703 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6446, allocations: 0 / 0.8703 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6447, allocations: 27.98 kB / 0.8703 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6448, allocations: 0 / 0.8703 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.742e-05/0.6448, allocations: 4 kB / 0.8703 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.6448, allocations: 4 kB / 0.8703 GB, free: 11.89 MB / 0.5417 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 (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.522e-05/0.6449, allocations: 104.9 kB / 0.8704 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.6449, allocations: 11.86 kB / 0.8704 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001962/0.6451, allocations: 106 kB / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.6451, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6452, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.6452, allocations: 0 / 0.8705 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.6456, allocations: 323.2 kB / 0.8708 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.6456, allocations: 3.984 kB / 0.8708 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6457, allocations: 16 kB / 0.8708 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6457, allocations: 3.984 kB / 0.8709 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.6458, allocations: 0 / 0.8709 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.6458, allocations: 8 kB / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6458, allocations: 0 / 0.8709 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.646, allocations: 203.5 kB / 0.8711 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.98e-05/0.6461, allocations: 89.03 kB / 0.8711 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.6461, allocations: 7.922 kB / 0.8711 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.6462, allocations: 0 / 0.8711 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.6462, allocations: 4 kB / 0.8711 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.6463, allocations: 8.047 kB / 0.8712 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.6463, allocations: 83.28 kB / 0.8712 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6463, allocations: 0 / 0.8712 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002848/0.6466, allocations: 39.94 kB / 0.8713 GB, free: 10.81 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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.0002459/0.6469, allocations: 135.2 kB / 0.8714 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.647, allocations: 51.94 kB / 0.8715 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.647, allocations: 0 / 0.8715 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.583e-05/0.6471, allocations: 32 kB / 0.8715 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.6472, allocations: 8.078 kB / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.6477, allocations: 213.4 kB / 0.8717 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.648, allocations: 0.6924 MB / 0.8724 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.424e-05/0.6481, allocations: 15.92 kB / 0.8724 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.6481, allocations: 11.44 kB / 0.8724 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6481, allocations: 0 / 0.8724 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of Templates: time 0.003341/0.6515, allocations: 0.847 MB / 0.8732 GB, free: 8.785 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)