Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.0009665/0.0009665, allocations: 81.16 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002375, allocations: 451.9 kB / 10.45 MB, free: 244 kB / 10.45 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.001095/0.001095, allocations: 157.2 kB / 11.35 MB, free: 2.824 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.00249, allocations: 483.5 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9449/0.9449, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08355/1.028, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6786/0.6786, allocations: 120.1 MB / 364.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07119/0.7497, allocations: 38.15 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.303e-05, allocations: 6.312 kB / 403.8 MB, free: 10.9 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001523/0.001536, allocations: 1.388 MB / 405.2 MB, free: 9.496 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005937/0.00213, allocations: 0.5649 MB / 405.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.441e-05/0.002145, allocations: 0 / 405.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 8.126e-06/0.002153, allocations: 3.938 kB / 405.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-05/0.002174, allocations: 11.92 kB / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.002422, allocations: 139.3 kB / 405.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.399e-05/0.002466, allocations: 7.938 kB / 405.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.002501, allocations: 8 kB / 405.9 MB, free: 8.762 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.176e-05/0.002543, allocations: 11.98 kB / 405.9 MB, free: 8.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.002588, allocations: 3.984 kB / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.002597, allocations: 0 / 405.9 MB, free: 8.746 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.002945, allocations: 339.2 kB / 406.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.002959, allocations: 0 / 406.2 MB, free: 8.414 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.153e-05/0.002971, allocations: 4 kB / 406.2 MB, free: 8.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.003141, allocations: 119.7 kB / 406.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.196e-05/0.003153, allocations: 0 / 406.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003153, allocations: 0 / 406.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.00316, allocations: 3.938 kB / 406.4 MB, free: 8.289 MB / 394.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.0003066/0.003467, allocations: 268.3 kB / 406.6 MB, free: 8.004 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.003498, allocations: 8.031 kB / 406.6 MB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.681e-05/0.003525, allocations: 4.875 kB / 406.6 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.029e-05/0.003595, allocations: 117.8 kB / 406.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.003602, allocations: 384 / 406.8 MB, free: 7.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.003609, allocations: 4.375 kB / 406.8 MB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.532e-05/0.003664, allocations: 30.27 kB / 406.8 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.003671, allocations: 3.938 kB / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-06/0.003675, allocations: 0 / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.00368, allocations: 0 / 406.8 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.125e-06/0.003688, allocations: 4 kB / 406.8 MB, free: 7.805 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.271e-05/0.00376, allocations: 65.03 kB / 406.9 MB, free: 7.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.35e-05/0.003794, allocations: 22.55 kB / 406.9 MB, free: 7.695 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.003808, allocations: 8.859 kB / 406.9 MB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.003825, allocations: 4.062 kB / 406.9 MB, free: 7.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.003843, allocations: 34.56 kB / 406.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.003844, allocations: 0 / 406.9 MB, free: 7.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 7.153e-05/0.003915, allocations: 37.69 kB / 407 MB, free: 7.594 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.003941, allocations: 59.28 kB / 407 MB, free: 7.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.626e-05/0.003988, allocations: 98.72 kB / 407.1 MB, free: 7.414 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.454e-06/0.003995, allocations: 25.7 kB / 407.1 MB, free: 7.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.655e-05/0.004012, allocations: 80.14 kB / 407.2 MB, free: 7.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.004033, allocations: 7.953 kB / 407.2 MB, free: 7.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.004051, allocations: 17.7 kB / 407.2 MB, free: 7.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.004118, allocations: 315.1 kB / 407.6 MB, free: 6.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.681e-06/0.004124, allocations: 8 kB / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.004128, allocations: 0 / 407.6 MB, free: 6.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.571e-05/0.004144, allocations: 8.859 kB / 407.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004146, allocations: 0 / 407.6 MB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.421e-05/0.00418, allocations: 45.56 kB / 407.6 MB, free: 6.883 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.004189, allocations: 4 kB / 407.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.004193, allocations: 0 / 407.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-06/0.004199, allocations: 0 / 407.6 MB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.004313, allocations: 8 kB / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002278/0.004541, allocations: 0.5977 MB / 408.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.004554, allocations: 0 / 408.2 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.004558, allocations: 0 / 408.2 MB, free: 6.25 MB / 394.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 6.374e-05/0.004622, allocations: 113.8 kB / 408.3 MB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-06/0.004629, allocations: 3.938 kB / 408.3 MB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.599e-05/0.004715, allocations: 44.94 kB / 408.4 MB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.004718, allocations: 4 kB / 408.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004719, allocations: 0 / 408.4 MB, free: 6.074 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004721, allocations: 4.094 kB / 408.4 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.249e-05/0.004784, allocations: 65.89 kB / 408.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.004785, allocations: 0 / 408.5 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.646e-05/0.004841, allocations: 7.984 kB / 408.5 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.004849, allocations: 4 kB / 408.5 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.004852, allocations: 3.938 kB / 408.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.004856, allocations: 0 / 408.5 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000182/0.005038, allocations: 0.5743 MB / 409 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.005039, allocations: 3.938 kB / 409 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.02e-05/0.005079, allocations: 73.12 kB / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-06/0.005087, allocations: 0 / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.172e-06/0.005093, allocations: 0 / 409.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.005104, allocations: 4 kB / 409.1 MB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.005106, allocations: 3.984 kB / 409.1 MB, free: 5.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.226e-06/0.005115, allocations: 8.844 kB / 409.1 MB, free: 5.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005115, allocations: 0 / 409.1 MB, free: 5.262 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.005227, allocations: 23.88 kB / 409.2 MB, free: 5.238 MB / 394.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.0001324/0.005359, allocations: 112.4 kB / 409.3 MB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.163e-05/0.005431, allocations: 24.72 kB / 409.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.005434, allocations: 0 / 409.3 MB, free: 5.094 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.00546, allocations: 16.86 kB / 409.3 MB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.405e-05/0.005514, allocations: 11.92 kB / 409.3 MB, free: 5.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.005932, allocations: 126.4 kB / 409.4 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.047e-05/0.005963, allocations: 55.55 kB / 409.5 MB, free: 4.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.005993, allocations: 55.38 kB / 409.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.005993, allocations: 0 / 409.6 MB, free: 4.777 MB / 394.7 MB Notification: Performance of Templates: time 0.001267/0.007261, allocations: 0.6638 MB / 410.2 MB, free: 4.109 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.829237587749958]