Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001374/0.001374, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001466/0.001466, allocations: 156 kB / 23.01 MB, free: 4.605 MB / 14.72 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7996/0.7996, allocations: 101.3 MB / 361.1 MB, free: 9.523 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002663/0.002663, allocations: 62.75 kB / 0.5356 GB, free: 5.258 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1998, allocations: 85.89 MB / 0.6195 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002879/0.2027, allocations: 1.259 MB / 0.6207 GB, free: 308 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2038, allocations: 0.5254 MB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.2038, allocations: 0 / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.519e-05/0.2038, allocations: 0 / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.59e-05/0.2039, allocations: 3.938 kB / 0.6212 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006048/0.2045, allocations: 158.9 kB / 0.6214 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.566e-05/0.2045, allocations: 7.938 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.908e-05/0.2046, allocations: 3.984 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.716e-05/0.2046, allocations: 4 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.816e-05/0.2046, allocations: 0 / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.2046, allocations: 4 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/0.2051, allocations: 271.5 kB / 0.6217 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.2051, allocations: 11.88 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.2051, allocations: 4 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.2054, allocations: 123.6 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.198e-06/0.2054, allocations: 8 kB / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2054, allocations: 0 / 0.6218 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2054, allocations: 0 / 0.6218 GB, free: 15.19 MB / 0.5294 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.0004297/0.2059, allocations: 278 kB / 0.6221 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2059, allocations: 8.625 kB / 0.6221 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.2059, allocations: 12.94 kB / 0.6221 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2061, allocations: 106.5 kB / 0.6222 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2061, allocations: 384 / 0.6222 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.2061, allocations: 4.375 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.867e-05/0.2062, allocations: 37.62 kB / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.2062, allocations: 0 / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.2062, allocations: 0 / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2062, allocations: 4 kB / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.2062, allocations: 0 / 0.6222 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.2064, allocations: 101.3 kB / 0.6223 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.2065, allocations: 30.53 kB / 0.6224 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.2065, allocations: 8.922 kB / 0.6224 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2065, allocations: 4 kB / 0.6224 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.2065, allocations: 38.5 kB / 0.6224 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2065, allocations: 0 / 0.6224 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.2067, allocations: 33.7 kB / 0.6224 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.2067, allocations: 55.34 kB / 0.6225 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.2068, allocations: 101.8 kB / 0.6226 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.2068, allocations: 25.95 kB / 0.6226 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.2069, allocations: 84.14 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.2069, allocations: 7.938 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.2069, allocations: 17.72 kB / 0.6227 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2071, allocations: 310.8 kB / 0.623 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.2071, allocations: 4 kB / 0.623 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.2071, allocations: 7.922 kB / 0.623 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.323e-05/0.2072, allocations: 16.86 kB / 0.6231 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2072, allocations: 0 / 0.6231 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.694e-05/0.2072, allocations: 41.59 kB / 0.6231 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2072, allocations: 12.03 kB / 0.6231 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2072, allocations: 3.938 kB / 0.6231 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2073, allocations: 4 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.2074, allocations: 7.984 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000454/0.2079, allocations: 0.586 MB / 0.6237 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.2079, allocations: 4 kB / 0.6237 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2079, allocations: 0 / 0.6237 GB, free: 13.06 MB / 0.5294 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.666e-05/0.208, allocations: 118.8 kB / 0.6238 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.208, allocations: 4.078 kB / 0.6238 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.2081, allocations: 48.95 kB / 0.6239 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2081, allocations: 0 / 0.6239 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2081, allocations: 0 / 0.6239 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2081, allocations: 0 / 0.6239 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.307e-05/0.2082, allocations: 105.2 kB / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2082, allocations: 0 / 0.624 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.2083, allocations: 8 kB / 0.624 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2083, allocations: 3.984 kB / 0.624 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2083, allocations: 4 kB / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003996/0.2087, allocations: 0.5861 MB / 0.6245 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2087, allocations: 3.938 kB / 0.6245 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.399e-05/0.2088, allocations: 69.06 kB / 0.6246 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.2088, allocations: 7.984 kB / 0.6246 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2088, allocations: 0 / 0.6246 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.392e-05/0.2088, allocations: 0 / 0.6246 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.497e-05/0.2089, allocations: 3.938 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.2089, allocations: 4 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.481e-05/0.2089, allocations: 75.28 kB / 0.6247 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2089, allocations: 4.219 kB / 0.6247 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001995/0.2091, allocations: 8 kB / 0.6247 GB, free: 11.93 MB / 0.5294 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.0001714/0.2093, allocations: 111.2 kB / 0.6248 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.2095, allocations: 23.86 kB / 0.6248 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2095, allocations: 0 / 0.6248 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.2096, allocations: 15.98 kB / 0.6249 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.2097, allocations: 3.172 kB / 0.6249 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.2101, allocations: 114.2 kB / 0.625 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.458e-05/0.2101, allocations: 55.36 kB / 0.625 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.427e-05/0.2102, allocations: 0 / 0.625 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.762e-05/0.2102, allocations: 12.44 kB / 0.625 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.2102, allocations: 0 / 0.625 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.003042/0.2132, allocations: 471.6 kB / 0.6255 GB, free: 11.1 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46474969398696] Failed to read output from testmodel.py, exit status != 0: 0.2249802319565788 0.250333324 0.03999992 Calling exit ...