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.001437/0.001437, allocations: 118.7 kB / 17.13 MB, free: 5.758 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.001453/0.001453, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.321/1.321, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.00227/0.00227, allocations: 291.6 kB / 303.6 MB, free: 3.676 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 0.9908/0.9908, allocations: 180.9 MB / 0.5268 GB, free: 2.707 MB / 382.1 MB " [Timeout remaining time 179] 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.002703/0.002703, allocations: 91.84 kB / 0.7259 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4981, allocations: 94.16 MB / 0.8179 GB, free: 7.453 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001966/0.5001, allocations: 1.252 MB / 0.8191 GB, free: 6.582 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.501, allocations: 0.5943 MB / 0.8197 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.114e-05/0.501, allocations: 0 / 0.8197 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.501, allocations: 0 / 0.8197 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.501, allocations: 1.219 kB / 0.8197 GB, free: 6.172 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.5015, allocations: 140.2 kB / 0.8198 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.5015, allocations: 23.98 kB / 0.8198 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.5016, allocations: 5.5 kB / 0.8198 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.5016, allocations: 2.875 kB / 0.8198 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.5016, allocations: 5.047 kB / 0.8198 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.5017, allocations: 0.75 kB / 0.8198 GB, free: 6.09 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004568/0.5021, allocations: 334.7 kB / 0.8201 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-06/0.5021, allocations: 5.266 kB / 0.8202 GB, free: 5.992 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.5021, allocations: 5.75 kB / 0.8202 GB, free: 5.988 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.5024, allocations: 148.5 kB / 0.8203 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5024, allocations: 0 / 0.8203 GB, free: 5.945 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5024, allocations: 5.094 kB / 0.8203 GB, free: 5.941 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.5024, allocations: 0 / 0.8203 GB, free: 5.941 MB / 0.5763 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.0002871/0.5027, allocations: 354.5 kB / 0.8206 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5027, allocations: 9.094 kB / 0.8207 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.5027, allocations: 2.031 kB / 0.8207 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.945e-05/0.5028, allocations: 164.6 kB / 0.8208 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-06/0.5028, allocations: 1.188 kB / 0.8208 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.5028, allocations: 1.25 kB / 0.8208 GB, free: 5.363 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.064e-05/0.5029, allocations: 33.45 kB / 0.8208 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.5029, allocations: 1.344 kB / 0.8208 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.5029, allocations: 7.875 kB / 0.8209 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-06/0.5029, allocations: 0 / 0.8209 GB, free: 5.32 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.5029, allocations: 10.14 kB / 0.8209 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001019/0.503, allocations: 145.1 kB / 0.821 GB, free: 5.129 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 4.253e-05/0.5031, allocations: 30.75 kB / 0.821 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.5031, allocations: 11.23 kB / 0.821 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5031, allocations: 0 / 0.821 GB, free: 5.086 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.5031, allocations: 31.81 kB / 0.8211 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.5031, allocations: 0 / 0.8211 GB, free: 5.047 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.5033, allocations: 50.27 kB / 0.8211 GB, free: 5.004 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.5033, allocations: 52.59 kB / 0.8212 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.184e-05/0.5033, allocations: 92.39 kB / 0.8213 GB, free: 4.844 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.5033, allocations: 33.95 kB / 0.8213 GB, free: 4.805 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 1.518e-05/0.5034, allocations: 81.17 kB / 0.8214 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.5034, allocations: 8.734 kB / 0.8214 GB, free: 4.715 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.5034, allocations: 15.92 kB / 0.8214 GB, free: 4.699 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.104e-05/0.5034, allocations: 315.8 kB / 0.8217 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.5035, allocations: 0.9688 kB / 0.8217 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.5035, allocations: 2.344 kB / 0.8217 GB, free: 4.383 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.854e-05/0.5035, allocations: 14.52 kB / 0.8217 GB, free: 4.371 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5035, allocations: 4 kB / 0.8217 GB, free: 4.367 MB / 0.5763 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.437e-05/0.5036, allocations: 41.84 kB / 0.8218 GB, free: 4.332 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5036, allocations: 10 kB / 0.8218 GB, free: 4.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5036, allocations: 3.938 kB / 0.8218 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.5036, allocations: 0 / 0.8218 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.5037, allocations: 11.5 kB / 0.8218 GB, free: 4.324 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002134/0.5039, allocations: 0.5933 MB / 0.8224 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.504, allocations: 0 / 0.8224 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.504, allocations: 1.062 kB / 0.8224 GB, free: 3.723 MB / 0.5763 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 4.713e-05/0.504, allocations: 117.3 kB / 0.8225 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.504, allocations: 4.453 kB / 0.8225 GB, free: 3.602 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.015e-05/0.5041, allocations: 41.27 kB / 0.8225 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5041, allocations: 4.906 kB / 0.8225 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.5041, allocations: 0 / 0.8225 GB, free: 3.566 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.5041, allocations: 4.094 kB / 0.8225 GB, free: 3.562 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.923e-05/0.5042, allocations: 149.2 kB / 0.8227 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5042, allocations: 0 / 0.8227 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.266e-05/0.5042, allocations: 12.34 kB / 0.8227 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.5042, allocations: 1.219 kB / 0.8227 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.5042, allocations: 0 / 0.8227 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001587/0.5044, allocations: 0.5854 MB / 0.8232 GB, free: 2.777 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5044, allocations: 13.09 kB / 0.8233 GB, free: 2.766 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.182e-05/0.5045, allocations: 66.16 kB / 0.8233 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.427e-05/0.5045, allocations: 82.58 kB / 0.8234 GB, free: 2.598 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.308e-06/0.5045, allocations: 3.984 kB / 0.8234 GB, free: 2.594 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.5045, allocations: 1.344 kB / 0.8234 GB, free: 2.594 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.5045, allocations: 3.938 kB / 0.8234 GB, free: 2.59 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5045, allocations: 8.562 kB / 0.8234 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 1.848e-05/0.5045, allocations: 80.59 kB / 0.8235 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.5045, allocations: 1.531 kB / 0.8235 GB, free: 2.508 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0001937/0.5047, allocations: 10.09 kB / 0.8235 GB, free: 2.504 MB / 0.5763 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.0001372/0.5049, allocations: 111 kB / 0.8236 GB, free: 2.41 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.505, allocations: 20.19 kB / 0.8236 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.505, allocations: 0 / 0.8236 GB, free: 2.406 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.086e-05/0.5051, allocations: 16.61 kB / 0.8236 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.5053, allocations: 12.69 kB / 0.8237 GB, free: 2.395 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.5055, allocations: 130.1 kB / 0.8238 GB, free: 2.254 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.159e-05/0.5056, allocations: 0.6781 MB / 0.8244 GB, free: 1.555 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.5056, allocations: 8.562 kB / 0.8245 GB, free: 1.547 MB / 0.5763 GB Notification: Performance of SimCode: time 3.1e-07/0.5056, allocations: 0 / 0.8245 GB, free: 1.547 MB / 0.5763 GB Notification: Performance of Templates: time 0.00234/0.508, allocations: 0.6972 MB / 0.8251 GB, free: 1.512 MB / 0.5763 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: 7.914929474005476] Failed to read output from testmodel.py, exit status != 0: 0.5151502620428801 0.5264593200000001 0.021266906000000002 Calling exit ...