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.8511/0.8511, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001071/0.001071, allocations: 176.3 kB / 182.2 MB, free: 9.453 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.531/1.531, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009473/0.0009473, allocations: 88.05 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.001695/0.001695, allocations: 278.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.785e-05/2.788e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4439, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.5892, allocations: 108.5 MB / 0.8633 GB, free: 3.391 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.5895, allocations: 87.81 kB / 0.8634 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.009692/0.5992, allocations: 3.459 MB / 0.8668 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5992, allocations: 0 / 0.8668 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5993, allocations: 0 / 0.8668 GB, free: 15.84 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.0002795/0.5995, allocations: 350.3 kB / 0.8671 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.5996, allocations: 8.031 kB / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.5996, allocations: 4 kB / 0.8671 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.5998, allocations: 163 kB / 0.8673 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5998, allocations: 0 / 0.8673 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.5998, allocations: 0 / 0.8673 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.082e-05/0.5998, allocations: 4 kB / 0.8673 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.977e-05/0.5999, allocations: 33.69 kB / 0.8673 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.5999, allocations: 4 kB / 0.8673 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.5999, allocations: 0 / 0.8673 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.6, allocations: 3.984 kB / 0.8673 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.6001, allocations: 134.2 kB / 0.8674 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.6002, allocations: 22.58 kB / 0.8675 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.6002, allocations: 8.812 kB / 0.8675 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.6002, allocations: 4.062 kB / 0.8675 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.6002, allocations: 42.48 kB / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.6002, allocations: 0 / 0.8675 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001205/0.6004, allocations: 33.7 kB / 0.8675 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.6004, allocations: 55.41 kB / 0.8676 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.6005, allocations: 85 kB / 0.8677 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.6005, allocations: 25.7 kB / 0.8677 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.6005, allocations: 84.08 kB / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.6006, allocations: 8.062 kB / 0.8678 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.6006, allocations: 4 kB / 0.8678 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.6007, allocations: 318.8 kB / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.6007, allocations: 0 / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.6007, allocations: 4 kB / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.246e-05/0.6007, allocations: 0 / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6007, allocations: 0 / 0.8681 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.331e-05/0.6008, allocations: 33.7 kB / 0.8681 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6008, allocations: 13.36 kB / 0.8681 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.6008, allocations: 4.094 kB / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6009, allocations: 0 / 0.8682 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.601, allocations: 15.92 kB / 0.8682 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003483/0.6014, allocations: 0.5898 MB / 0.8687 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.6014, allocations: 0 / 0.8687 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.6014, allocations: 8.031 kB / 0.8688 GB, free: 13.59 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 (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 6.385e-05/0.6015, allocations: 109 kB / 0.8689 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.6015, allocations: 3.984 kB / 0.8689 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.6016, allocations: 37.45 kB / 0.8689 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.6016, allocations: 0 / 0.8689 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6016, allocations: 0 / 0.8689 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.6016, allocations: 0 / 0.8689 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.664e-05/0.6017, allocations: 134.2 kB / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6017, allocations: 0 / 0.869 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.496e-05/0.6018, allocations: 15.94 kB / 0.869 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6018, allocations: 32 / 0.869 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.6018, allocations: 4 kB / 0.869 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002725/0.6021, allocations: 0.586 MB / 0.8696 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6021, allocations: 0 / 0.8696 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.6022, allocations: 69.02 kB / 0.8697 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.712e-05/0.6022, allocations: 81.23 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.6022, allocations: 3.938 kB / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.324e-05/0.6023, allocations: 0 / 0.8698 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.6023, allocations: 4 kB / 0.8698 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.6023, allocations: 0 / 0.8698 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.6023, allocations: 75.28 kB / 0.8698 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6023, allocations: 0 / 0.8698 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001878/0.6025, allocations: 15.92 kB / 0.8699 GB, free: 12.35 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 () * 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.0001691/0.6027, allocations: 123.3 kB / 0.87 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.6028, allocations: 16 kB / 0.87 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6028, allocations: 0 / 0.87 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.47e-05/0.6029, allocations: 11.98 kB / 0.87 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.603, allocations: 4.766 kB / 0.87 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001599/0.6032, allocations: 55.89 kB / 0.8701 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.6035, allocations: 0.6807 MB / 0.8707 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.6035, allocations: 4 kB / 0.8707 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.228e-05/0.6035, allocations: 7.438 kB / 0.8707 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6035, allocations: 0 / 0.8707 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of Templates: time 0.00218/0.6057, allocations: 407.9 kB / 0.8711 GB, free: 11.03 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)