Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001875/0.001875, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.002139/0.002139, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.458/1.458, allocations: 177.2 MB / 203.4 MB, free: 8.941 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.8145/0.8145, 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [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.002103/0.002103, allocations: 68.33 kB / 0.5356 GB, free: 5.211 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.1629/0.165, allocations: 85.89 MB / 0.6195 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002556/0.1675, allocations: 1.283 MB / 0.6208 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1686, allocations: 0.5332 MB / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.1686, allocations: 0 / 0.6213 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.956e-05/0.1686, allocations: 3.938 kB / 0.6213 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.096e-05/0.1687, allocations: 15.92 kB / 0.6213 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.1692, allocations: 143.4 kB / 0.6214 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.465e-05/0.1693, allocations: 15.88 kB / 0.6214 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.1693, allocations: 11.98 kB / 0.6215 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.1694, allocations: 8 kB / 0.6215 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.1694, allocations: 7.938 kB / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.1694, allocations: 0 / 0.6215 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1699, allocations: 275.4 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.1699, allocations: 8 kB / 0.6217 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.1699, allocations: 11.92 kB / 0.6218 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1702, allocations: 139.5 kB / 0.6219 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1702, allocations: 4 kB / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1702, allocations: 0 / 0.6219 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1702, allocations: 0 / 0.6219 GB, free: 15.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000465/0.1707, allocations: 285.9 kB / 0.6222 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1707, allocations: 8.031 kB / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.1708, allocations: 0.9375 kB / 0.6222 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.1709, allocations: 110.5 kB / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1709, allocations: 4.375 kB / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.1709, allocations: 4.375 kB / 0.6223 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.171, allocations: 49.56 kB / 0.6223 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.171, allocations: 0 / 0.6223 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.171, allocations: 8 kB / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.171, allocations: 0 / 0.6223 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.644e-05/0.1711, allocations: 8 kB / 0.6224 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.1714, allocations: 208.5 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1716, allocations: 42.62 kB / 0.6226 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.1716, allocations: 16.86 kB / 0.6226 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1717, allocations: 4 kB / 0.6226 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1717, allocations: 34.5 kB / 0.6226 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1717, allocations: 0 / 0.6226 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001804/0.1719, allocations: 61.81 kB / 0.6227 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1719, allocations: 55.39 kB / 0.6228 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.947e-05/0.172, allocations: 97.86 kB / 0.6228 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.172, allocations: 25.7 kB / 0.6229 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1721, allocations: 84.09 kB / 0.623 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.1721, allocations: 19.81 kB / 0.623 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.1721, allocations: 21.67 kB / 0.623 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1723, allocations: 318.8 kB / 0.6233 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.1723, allocations: 4 kB / 0.6233 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.665e-05/0.1724, allocations: 29.64 kB / 0.6233 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.1724, allocations: 29.66 kB / 0.6234 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1724, allocations: 0 / 0.6234 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.695e-05/0.1725, allocations: 57.62 kB / 0.6234 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1725, allocations: 8 kB / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1725, allocations: 0 / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1725, allocations: 0 / 0.6234 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.1726, allocations: 16.02 kB / 0.6234 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.1726, allocations: 3.938 kB / 0.6234 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.259e-05/0.1726, allocations: 0 / 0.6234 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1726, allocations: 4 kB / 0.6234 GB, free: 13.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.406e-05/0.1727, allocations: 114.9 kB / 0.6236 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1728, allocations: 4 kB / 0.6236 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.1729, allocations: 65.3 kB / 0.6236 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1729, allocations: 3.984 kB / 0.6236 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1729, allocations: 0 / 0.6236 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1729, allocations: 4 kB / 0.6236 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1731, allocations: 109.2 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1731, allocations: 0 / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.1731, allocations: 8 kB / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1731, allocations: 0 / 0.6237 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1731, allocations: 3.984 kB / 0.6237 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1731, allocations: 0 / 0.6237 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1731, allocations: 0 / 0.6237 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.1733, allocations: 155.5 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.1733, allocations: 0 / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1733, allocations: 4 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1733, allocations: 4 kB / 0.6239 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.1733, allocations: 8 kB / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1733, allocations: 0 / 0.6239 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.1734, allocations: 83.64 kB / 0.624 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1734, allocations: 0 / 0.624 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002433/0.1736, allocations: 23.81 kB / 0.624 GB, free: 12.68 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.1738, allocations: 115.2 kB / 0.6241 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1739, allocations: 32.05 kB / 0.6241 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1739, allocations: 0 / 0.6241 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.174, allocations: 16.06 kB / 0.6242 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1742, allocations: 3.938 kB / 0.6242 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.1745, allocations: 126.8 kB / 0.6243 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.1746, allocations: 55.36 kB / 0.6243 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.031e-05/0.1746, allocations: 4 kB / 0.6243 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.743e-05/0.1746, allocations: 12.48 kB / 0.6244 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.1746, allocations: 4 kB / 0.6244 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.002978/0.1776, allocations: 0.4952 MB / 0.6248 GB, free: 11.77 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.367885481100529] Failed to read output from testmodel.py, exit status != 0: 0.18564588704612106 0.20082909200000001 0.027519306 Calling exit ...