Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7889/0.7889, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001072/0.001072, allocations: 179.4 kB / 191.5 MB, free: 5.777 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.488/1.488, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.0008899/0.0008898, allocations: 92.31 kB / 0.5188 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001736, allocations: 261.9 kB / 0.6005 GB, free: 48.82 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004639/0.0004639, allocations: 16.94 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1751, allocations: 82.79 MB / 0.7737 GB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1573/0.3324, allocations: 109.2 MB / 0.8804 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.3327, allocations: 85.95 kB / 0.8804 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.367/0.6996, allocations: 3.482 MB / 0.8838 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6997, allocations: 0 / 0.8838 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.6997, allocations: 2.844 kB / 0.8838 GB, free: 109.2 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002925/0.7, allocations: 337.7 kB / 0.8842 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7001, allocations: 8.375 kB / 0.8842 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.7001, allocations: 5.094 kB / 0.8842 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.7002, allocations: 173.1 kB / 0.8843 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.7002, allocations: 0 / 0.8843 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.7002, allocations: 2.812 kB / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.7003, allocations: 32.33 kB / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.7003, allocations: 0 / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.7004, allocations: 3.875 kB / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.7004, allocations: 3.984 kB / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.604e-05/0.7004, allocations: 2.5 kB / 0.8844 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.7005, allocations: 153.6 kB / 0.8845 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/0.7006, allocations: 27.72 kB / 0.8846 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.7006, allocations: 10.25 kB / 0.8846 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.7006, allocations: 30.56 kB / 0.8846 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.953e-06/0.7006, allocations: 0 / 0.8846 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001297/0.7008, allocations: 41.64 kB / 0.8846 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.7008, allocations: 53.91 kB / 0.8847 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.016e-05/0.7009, allocations: 91.06 kB / 0.8848 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.7009, allocations: 29.64 kB / 0.8848 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.192e-05/0.7009, allocations: 84.14 kB / 0.8849 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.7009, allocations: 8.781 kB / 0.8849 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.7009, allocations: 0 / 0.8849 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.701, allocations: 313.5 kB / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.701, allocations: 0 / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-06/0.701, allocations: 9.344 kB / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.595e-05/0.7011, allocations: 2.688 kB / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7011, allocations: 0 / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.115e-05/0.7011, allocations: 42.56 kB / 0.8852 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.7011, allocations: 6.656 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7011, allocations: 0 / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7012, allocations: 0 / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.7013, allocations: 15.91 kB / 0.8853 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002476/0.7016, allocations: 0.5919 MB / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.7016, allocations: 0 / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.7016, allocations: 4.125 kB / 0.8859 GB, free: 107.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.7017, allocations: 115.5 kB / 0.886 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-06/0.7017, allocations: 0 / 0.886 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.791e-05/0.7018, allocations: 49.88 kB / 0.886 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.7018, allocations: 0 / 0.886 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.7018, allocations: 3.938 kB / 0.886 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.7018, allocations: 0 / 0.886 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.7019, allocations: 156 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7019, allocations: 4.031 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.702, allocations: 12.78 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.702, allocations: 2.5 kB / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.702, allocations: 0 / 0.8862 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001738/0.7022, allocations: 0.5805 MB / 0.8867 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7022, allocations: 0 / 0.8867 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.923e-05/0.7022, allocations: 76.84 kB / 0.8868 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.695e-05/0.7023, allocations: 83.23 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.7023, allocations: 0 / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.7023, allocations: 3.938 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.214e-05/0.7023, allocations: 0 / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.7023, allocations: 2.656 kB / 0.8869 GB, free: 106 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.7023, allocations: 75.28 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7023, allocations: 4.125 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002061/0.7026, allocations: 25.52 kB / 0.887 GB, free: 105.9 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.7027, allocations: 116.5 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001381/0.7029, allocations: 15.89 kB / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.7029, allocations: 0 / 0.8871 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-05/0.7029, allocations: 19.58 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.7031, allocations: 2.969 kB / 0.8872 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002929/0.7034, allocations: 106 kB / 0.8873 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.7035, allocations: 0.6763 MB / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.527e-05/0.7035, allocations: 6.875 kB / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.979e-06/0.7035, allocations: 7.438 kB / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7035, allocations: 0 / 0.8879 GB, free: 105 MB / 0.5417 GB Notification: Performance of Templates: time 0.002232/0.7058, allocations: 408.7 kB / 0.8883 GB, free: 104.9 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)