Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.003065/0.003065, allocations: 83.67 kB / 21.81 MB, free: 2.496 MB / 18.57 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.001406/0.001406, allocations: 169.1 kB / 25.28 MB, free: 8.957 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 0.9124/0.9124, allocations: 177.2 MB / 205.8 MB, free: 4.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.981/1.981, allocations: 389.9 MB / 0.6369 GB, free: 12.98 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 3.938 kB / 0.7769 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.201e-05, allocations: 6.25 kB / 0.7769 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.005014/0.005036, allocations: 1.36 MB / 0.7782 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.0058, allocations: 0.5643 MB / 0.7788 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.005825, allocations: 0 / 0.7788 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.005841, allocations: 3.938 kB / 0.7788 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.005881, allocations: 3.938 kB / 0.7788 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.006257, allocations: 147.2 kB / 0.7789 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.006305, allocations: 7.938 kB / 0.7789 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.287e-05/0.006338, allocations: 8 kB / 0.779 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.006366, allocations: 8 kB / 0.779 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.006401, allocations: 3.984 kB / 0.779 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.426e-06/0.006409, allocations: 0 / 0.779 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.006822, allocations: 327.3 kB / 0.7793 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.006832, allocations: 0 / 0.7793 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.157e-05/0.006844, allocations: 3.938 kB / 0.7793 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.007043, allocations: 155.5 kB / 0.7794 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.007045, allocations: 0 / 0.7794 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.007046, allocations: 0 / 0.7794 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.635e-06/0.007048, allocations: 0 / 0.7794 GB, free: 10.79 MB / 0.7448 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.000251/0.007299, allocations: 252.6 kB / 0.7797 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.007331, allocations: 15.98 kB / 0.7797 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.007e-05/0.007351, allocations: 4.922 kB / 0.7797 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.968e-05/0.007421, allocations: 109.8 kB / 0.7798 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.00743, allocations: 4.375 kB / 0.7798 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.007436, allocations: 384 / 0.7798 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.062e-05/0.007487, allocations: 34.2 kB / 0.7798 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-06/0.007493, allocations: 192 / 0.7798 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-06/0.007497, allocations: 384 / 0.7798 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007504, allocations: 384 / 0.7798 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.678e-06/0.007514, allocations: 7.938 kB / 0.7798 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.48e-05/0.007588, allocations: 68.95 kB / 0.7799 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.231e-05/0.007621, allocations: 18.61 kB / 0.7799 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.007634, allocations: 8.922 kB / 0.7799 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.007645, allocations: 7.938 kB / 0.7799 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.007662, allocations: 30.56 kB / 0.78 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.007663, allocations: 0 / 0.78 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 7.293e-05/0.007736, allocations: 37.69 kB / 0.78 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.007762, allocations: 51.41 kB / 0.7801 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.501e-05/0.007807, allocations: 102.8 kB / 0.7802 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.007817, allocations: 25.7 kB / 0.7802 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.023e-05/0.007837, allocations: 84.14 kB / 0.7803 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.007856, allocations: 3.953 kB / 0.7803 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.007879, allocations: 13.7 kB / 0.7803 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.007953, allocations: 326.8 kB / 0.7806 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.791e-06/0.007958, allocations: 3.938 kB / 0.7806 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-06/0.007965, allocations: 4 kB / 0.7806 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.782e-05/0.007983, allocations: 8.859 kB / 0.7806 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007985, allocations: 4.188 kB / 0.7806 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.032e-05/0.008025, allocations: 33.69 kB / 0.7806 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.008035, allocations: 8 kB / 0.7806 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.008038, allocations: 0 / 0.7806 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.008045, allocations: 0 / 0.7806 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.723e-05/0.008142, allocations: 7.938 kB / 0.7807 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002389/0.008381, allocations: 0.5859 MB / 0.7812 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.366e-05/0.008395, allocations: 4 kB / 0.7812 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.0084, allocations: 4 kB / 0.7812 GB, free: 8.758 MB / 0.7448 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.83e-05/0.008449, allocations: 113.9 kB / 0.7813 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-06/0.008454, allocations: 0 / 0.7813 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.946e-05/0.008513, allocations: 41 kB / 0.7814 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.008517, allocations: 7.922 kB / 0.7814 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.008518, allocations: 3.938 kB / 0.7814 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.008521, allocations: 0 / 0.7814 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.301e-05/0.008574, allocations: 65.89 kB / 0.7815 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.008574, allocations: 0 / 0.7815 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.008622, allocations: 11.98 kB / 0.7815 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.008623, allocations: 4.031 kB / 0.7815 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-06/0.008626, allocations: 0 / 0.7815 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000159/0.008785, allocations: 0.5821 MB / 0.782 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.7e-07/0.008786, allocations: 0 / 0.782 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.305e-05/0.008819, allocations: 61.06 kB / 0.7821 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.558e-06/0.008823, allocations: 3.938 kB / 0.7821 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-06/0.00883, allocations: 4 kB / 0.7821 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.36e-06/0.008835, allocations: 0 / 0.7821 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.008844, allocations: 3.984 kB / 0.7821 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.008846, allocations: 4.094 kB / 0.7821 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.755e-06/0.008854, allocations: 12.84 kB / 0.7821 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008854, allocations: 0 / 0.7821 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001089/0.008963, allocations: 27.88 kB / 0.7822 GB, free: 7.738 MB / 0.7448 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.0001076/0.00907, allocations: 100.3 kB / 0.7822 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.334e-05/0.009144, allocations: 16.84 kB / 0.7823 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.009147, allocations: 4 kB / 0.7823 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.616e-05/0.009173, allocations: 20.95 kB / 0.7823 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.703e-05/0.00922, allocations: 0 / 0.7823 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.009421, allocations: 116.6 kB / 0.7824 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.48e-05/0.009445, allocations: 55.34 kB / 0.7825 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.845e-05/0.009464, allocations: 11.92 kB / 0.7825 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.009489, allocations: 47.38 kB / 0.7825 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/0.009489, allocations: 4.062 kB / 0.7825 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.00204/0.01153, allocations: 0.621 MB / 0.7831 GB, free: 6.723 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.638739292509854]