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 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_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.8657/0.8657, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001027/0.001027, allocations: 183.7 kB / 182.2 MB, free: 9.441 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.51/1.51, 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.0009942/0.0009942, allocations: 92.09 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.001835/0.001835, allocations: 279.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4721, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.6195, allocations: 108.7 MB / 0.8636 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.6199, allocations: 79.83 kB / 0.8636 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.6323, allocations: 4.036 MB / 0.8676 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6324, allocations: 0 / 0.8676 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.6324, allocations: 0 / 0.8676 GB, free: 15.03 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005066/0.633, allocations: 334.5 kB / 0.8679 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.524e-05/0.633, allocations: 12.03 kB / 0.8679 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.528e-05/0.6331, allocations: 7.938 kB / 0.8679 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.6333, allocations: 163 kB / 0.8681 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.6334, allocations: 4 kB / 0.8681 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.6334, allocations: 7.984 kB / 0.8681 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.6335, allocations: 4 kB / 0.8681 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.6336, allocations: 37.7 kB / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6337, allocations: 0 / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6337, allocations: 0 / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6337, allocations: 3.984 kB / 0.8681 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.6339, allocations: 138.1 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.6342, allocations: 54.48 kB / 0.8683 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.14e-05/0.6342, allocations: 16.86 kB / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.6343, allocations: 0 / 0.8683 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.6343, allocations: 38.5 kB / 0.8684 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.6343, allocations: 0 / 0.8684 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0007096/0.6351, allocations: 286.4 kB / 0.8686 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6351, allocations: 51.41 kB / 0.8687 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.6352, allocations: 89 kB / 0.8688 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6352, allocations: 25.7 kB / 0.8688 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.6353, allocations: 80.14 kB / 0.8689 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.6353, allocations: 27.64 kB / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.6354, allocations: 0 / 0.8689 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.6355, allocations: 310.8 kB / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.6356, allocations: 16 kB / 0.8692 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.961e-05/0.6356, allocations: 8 kB / 0.8692 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.856e-05/0.6356, allocations: 12 kB / 0.8692 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.6356, allocations: 0 / 0.8692 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.412e-05/0.6357, allocations: 61.58 kB / 0.8693 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6358, allocations: 7.938 kB / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.6358, allocations: 0 / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6358, allocations: 0 / 0.8693 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.677e-05/0.6359, allocations: 15.98 kB / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6359, allocations: 3.672 kB / 0.8693 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.6359, allocations: 4 kB / 0.8693 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6359, allocations: 4 kB / 0.8693 GB, free: 13 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 (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 9.218e-05/0.636, allocations: 101 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.636, allocations: 3.953 kB / 0.8694 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.6362, allocations: 81.98 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6362, allocations: 0 / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6362, allocations: 0 / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6362, allocations: 4 kB / 0.8695 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.6366, allocations: 284 kB / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6366, allocations: 3.953 kB / 0.8698 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.692e-05/0.6367, allocations: 15.94 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6367, allocations: 0 / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-06/0.6367, allocations: 3.938 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6367, allocations: 0 / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.6367, allocations: 4 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.637, allocations: 182.1 kB / 0.87 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.6371, allocations: 85.11 kB / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.6371, allocations: 0 / 0.8701 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.6372, allocations: 7.984 kB / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.6372, allocations: 0 / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.6372, allocations: 4 kB / 0.8701 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.6373, allocations: 75.66 kB / 0.8701 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.574e-06/0.6373, allocations: 64 / 0.8701 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003073/0.6376, allocations: 35.92 kB / 0.8702 GB, free: 12.02 MB / 0.5417 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.0002661/0.6379, allocations: 127.2 kB / 0.8703 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.638, allocations: 24 kB / 0.8703 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.638, allocations: 0 / 0.8703 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.638, allocations: 19.94 kB / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.6382, allocations: 7.953 kB / 0.8703 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003753/0.6386, allocations: 145.2 kB / 0.8705 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.6389, allocations: 0.6885 MB / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.6389, allocations: 7.984 kB / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.639, allocations: 15.44 kB / 0.8712 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.639, allocations: 0 / 0.8712 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of Templates: time 0.002707/0.6417, allocations: 0.5693 MB / 0.8717 GB, free: 10.39 MB / 0.5417 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)