Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00224/0.00224, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002654/0.002654, allocations: 238.4 kB / 259.8 MB, free: 12.84 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.065/1.065, allocations: 138.4 MB / 454.7 MB, free: 1.492 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 3.984 kB / 0.5543 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.946e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00249/0.002519, allocations: 1.271 MB / 0.5556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003599, allocations: 0.5137 MB / 0.5561 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.101e-05/0.00362, allocations: 8 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.003637, allocations: 0 / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.082e-05/0.003678, allocations: 3.938 kB / 0.5561 GB, free: 15.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005469/0.004225, allocations: 151.2 kB / 0.5562 GB, free: 14.91 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.703e-05/0.004272, allocations: 8 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.675e-05/0.004309, allocations: 3.938 kB / 0.5562 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.032e-05/0.004349, allocations: 7.984 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.251e-05/0.004392, allocations: 4 kB / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.004404, allocations: 0 / 0.5562 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.004876, allocations: 271.4 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.421e-05/0.00489, allocations: 3.984 kB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.00491, allocations: 4 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.00521, allocations: 151.5 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.005211, allocations: 0 / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005212, allocations: 0 / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.005216, allocations: 0 / 0.5567 GB, free: 14.46 MB / 490.7 MB 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.000442/0.005658, allocations: 282 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.005698, allocations: 12.75 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.005736, allocations: 0.9375 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.005848, allocations: 105.8 kB / 0.557 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.005861, allocations: 4.375 kB / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.005869, allocations: 384 / 0.557 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/0.005963, allocations: 34.27 kB / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.00597, allocations: 192 / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.005978, allocations: 384 / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.005982, allocations: 384 / 0.5571 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/0.006027, allocations: 15.86 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.006174, allocations: 93.33 kB / 0.5572 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.053e-05/0.006235, allocations: 26.61 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.006255, allocations: 8.859 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.006276, allocations: 4.062 kB / 0.5572 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.006311, allocations: 30.56 kB / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.006312, allocations: 0 / 0.5573 GB, free: 13.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001631/0.006475, allocations: 45.62 kB / 0.5573 GB, free: 13.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.006526, allocations: 55.41 kB / 0.5573 GB, free: 13.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.278e-05/0.006619, allocations: 97.8 kB / 0.5574 GB, free: 13.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.006639, allocations: 25.7 kB / 0.5575 GB, free: 13.49 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.97e-05/0.006689, allocations: 88.08 kB / 0.5576 GB, free: 13.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.006716, allocations: 12.19 kB / 0.5576 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.00675, allocations: 13.72 kB / 0.5576 GB, free: 13.37 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.006949, allocations: 314.8 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.006961, allocations: 0 / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.058e-05/0.006971, allocations: 4 kB / 0.5579 GB, free: 13.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.007002, allocations: 8.859 kB / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007003, allocations: 0 / 0.5579 GB, free: 13.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.121e-05/0.007084, allocations: 53.58 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.007096, allocations: 4 kB / 0.5579 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.0071, allocations: 4.094 kB / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.007115, allocations: 0 / 0.5579 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.007263, allocations: 11.98 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005057/0.007769, allocations: 0.5821 MB / 0.5585 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.00779, allocations: 4.031 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.007795, allocations: 3.938 kB / 0.5585 GB, free: 12.35 MB / 490.7 MB 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 0.000105/0.0079, allocations: 109.8 kB / 0.5586 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.007914, allocations: 7.938 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.00803, allocations: 49.09 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.008031, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.008038, allocations: 4 kB / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.00804, allocations: 0 / 0.5587 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.008141, allocations: 97.33 kB / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.008142, allocations: 0 / 0.5588 GB, free: 12.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.821e-05/0.00822, allocations: 11.98 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008222, allocations: 0 / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.008232, allocations: 3.938 kB / 0.5588 GB, free: 12.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/0.00867, allocations: 0.586 MB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008671, allocations: 8.094 kB / 0.5594 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.008765, allocations: 65.02 kB / 0.5594 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.008775, allocations: 8 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.008796, allocations: 0 / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.433e-05/0.00881, allocations: 0 / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.008826, allocations: 3.984 kB / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.008828, allocations: 0 / 0.5595 GB, free: 11.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.008885, allocations: 79.28 kB / 0.5595 GB, free: 11.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008886, allocations: 7.875 kB / 0.5595 GB, free: 11.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000198/0.009084, allocations: 12.06 kB / 0.5596 GB, free: 11.22 MB / 490.7 MB 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.0001692/0.009253, allocations: 111.2 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.009412, allocations: 23.98 kB / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009413, allocations: 0 / 0.5597 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.009502, allocations: 11.98 kB / 0.5597 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.00965, allocations: 7.938 kB / 0.5597 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.01, allocations: 108.8 kB / 0.5598 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.234e-05/0.01007, allocations: 59.34 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.396e-05/0.01008, allocations: 0 / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.0101, allocations: 12.5 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0101, allocations: 0 / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of Templates: time 0.002987/0.01309, allocations: 0.4922 MB / 0.5604 GB, free: 10.39 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.450446704984643]