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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002307, allocations: 287.9 kB / 304.8 MB, free: 3.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.16/1.16, allocations: 180.9 MB / 0.5281 GB, free: 1.895 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 103.8 kB / 0.7283 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5234/0.5261, allocations: 94.15 MB / 0.8203 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002533/0.5287, allocations: 1.256 MB / 0.8215 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.5298, allocations: 0.5966 MB / 0.8221 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.5298, allocations: 0 / 0.8221 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.5299, allocations: 0 / 0.8221 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.028e-05/0.5299, allocations: 9.062 kB / 0.8221 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.5304, allocations: 136.9 kB / 0.8222 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.549e-05/0.5305, allocations: 8.25 kB / 0.8222 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.196e-05/0.5306, allocations: 10.11 kB / 0.8222 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.746e-05/0.5306, allocations: 5.875 kB / 0.8222 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.5306, allocations: 11.14 kB / 0.8223 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.5306, allocations: 0 / 0.8223 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.5312, allocations: 332.7 kB / 0.8226 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.255e-05/0.5312, allocations: 4.75 kB / 0.8226 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.5312, allocations: 9.953 kB / 0.8226 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.5315, allocations: 146.3 kB / 0.8227 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5315, allocations: 1.125 kB / 0.8227 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5315, allocations: 0 / 0.8227 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.5315, allocations: 0 / 0.8227 GB, free: 2.84 MB / 0.5606 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.0006379/0.5321, allocations: 351.3 kB / 0.8231 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5322, allocations: 9.25 kB / 0.8231 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.5322, allocations: 6.391 kB / 0.8231 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.5323, allocations: 173.3 kB / 0.8232 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.5323, allocations: 384 / 0.8232 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.5324, allocations: 1.438 kB / 0.8232 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.5325, allocations: 29.77 kB / 0.8233 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5325, allocations: 192 / 0.8233 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5325, allocations: 8.969 kB / 0.8233 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.5325, allocations: 4 kB / 0.8233 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.5325, allocations: 7.672 kB / 0.8233 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.5327, allocations: 147.6 kB / 0.8234 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.63e-05/0.5327, allocations: 23.95 kB / 0.8235 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.663e-05/0.5328, allocations: 19.33 kB / 0.8235 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.5328, allocations: 0 / 0.8235 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5328, allocations: 35.88 kB / 0.8235 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.5328, allocations: 0 / 0.8235 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001562/0.533, allocations: 42.77 kB / 0.8236 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.533, allocations: 52.59 kB / 0.8236 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.193e-05/0.5331, allocations: 100.7 kB / 0.8237 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.5331, allocations: 25.7 kB / 0.8237 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.5332, allocations: 81.42 kB / 0.8238 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.5332, allocations: 11.89 kB / 0.8238 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.5332, allocations: 16.5 kB / 0.8238 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.5334, allocations: 312.2 kB / 0.8241 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.5334, allocations: 1.312 kB / 0.8241 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.5334, allocations: 7.062 kB / 0.8241 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.5334, allocations: 16.84 kB / 0.8242 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5334, allocations: 1.375 kB / 0.8242 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.593e-05/0.5335, allocations: 37.61 kB / 0.8242 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5335, allocations: 7.688 kB / 0.8242 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5335, allocations: 7.938 kB / 0.8242 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5335, allocations: 5.25 kB / 0.8242 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.5337, allocations: 10.98 kB / 0.8242 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004638/0.5341, allocations: 0.5833 MB / 0.8248 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.5342, allocations: 0 / 0.8248 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.5342, allocations: 1.062 kB / 0.8248 GB, free: 0.5898 MB / 0.5606 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.347e-05/0.5343, allocations: 117.3 kB / 0.8249 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.5343, allocations: 1.281 kB / 0.8249 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/0.5344, allocations: 48.72 kB / 0.8249 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.5344, allocations: 0.8438 kB / 0.8249 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5344, allocations: 0 / 0.8249 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.5344, allocations: 1.156 kB / 0.825 GB, free: 436 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.5346, allocations: 155.7 kB / 0.8251 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5346, allocations: 1.125 kB / 0.8251 GB, free: 232 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.311e-05/0.5347, allocations: 18.77 kB / 0.8251 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5347, allocations: 0.9375 kB / 0.8251 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.5347, allocations: 1 kB / 0.8251 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004713/0.5352, allocations: 0.5781 MB / 0.8257 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.5352, allocations: 5.188 kB / 0.8257 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.5353, allocations: 73.55 kB / 0.8258 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.5353, allocations: 82.3 kB / 0.8258 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.5353, allocations: 0.9375 kB / 0.8258 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.5353, allocations: 0 / 0.8258 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.5353, allocations: 5.031 kB / 0.8258 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.5353, allocations: 1.188 kB / 0.8258 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.5354, allocations: 81.34 kB / 0.8259 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5354, allocations: 0 / 0.8259 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002069/0.5356, allocations: 10.62 kB / 0.8259 GB, free: 15.36 MB / 0.5762 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001912/0.5358, allocations: 115.6 kB / 0.826 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.536, allocations: 24.58 kB / 0.8261 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.536, allocations: 0 / 0.8261 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.255e-05/0.5361, allocations: 18.58 kB / 0.8261 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5362, allocations: 5.094 kB / 0.8261 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.5366, allocations: 114.1 kB / 0.8262 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.537, allocations: 0.6723 MB / 0.8269 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.814e-05/0.537, allocations: 3.984 kB / 0.8269 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.5371, allocations: 8.594 kB / 0.8269 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.5371, allocations: 0 / 0.8269 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.003649/0.5407, allocations: 461 kB / 0.8273 GB, free: 14.2 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.356914875097573]