Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.001647/0.001647, allocations: 84.59 kB / 19.76 MB, free: 2.023 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.002031/0.002031, allocations: 159.3 kB / 23.01 MB, free: 4.961 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.807/0.807, allocations: 101.3 MB / 361.1 MB, free: 9.543 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [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.002164/0.002164, allocations: 67.55 kB / 0.5356 GB, free: 5.203 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.1744/0.1766, allocations: 85.88 MB / 0.6195 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002495/0.1791, allocations: 1.267 MB / 0.6207 GB, free: 292 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1802, allocations: 0.5215 MB / 0.6212 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.1802, allocations: 4 kB / 0.6212 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.1802, allocations: 3.984 kB / 0.6212 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.1803, allocations: 11.92 kB / 0.6213 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000551/0.1808, allocations: 135.5 kB / 0.6214 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.561e-05/0.1809, allocations: 11.88 kB / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.1809, allocations: 0 / 0.6214 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.1809, allocations: 8 kB / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.181, allocations: 0 / 0.6214 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.181, allocations: 8 kB / 0.6214 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004641/0.1814, allocations: 267.5 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.1815, allocations: 0 / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1815, allocations: 7.938 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1817, allocations: 135.6 kB / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1817, allocations: 0 / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.011e-06/0.1818, allocations: 0 / 0.6218 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1818, allocations: 0 / 0.6218 GB, free: 15.18 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.0004076/0.1822, allocations: 285.9 kB / 0.6221 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1822, allocations: 8.031 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1822, allocations: 4.938 kB / 0.6221 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.1823, allocations: 110.5 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1824, allocations: 4.312 kB / 0.6222 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1824, allocations: 4.375 kB / 0.6222 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.684e-05/0.1825, allocations: 29.64 kB / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1825, allocations: 4 kB / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.1825, allocations: 0 / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.1825, allocations: 0 / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.581e-05/0.1825, allocations: 4 kB / 0.6222 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1827, allocations: 105.3 kB / 0.6223 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.1827, allocations: 34.55 kB / 0.6224 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.148e-05/0.1827, allocations: 8.844 kB / 0.6224 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1828, allocations: 0 / 0.6224 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1828, allocations: 38.56 kB / 0.6224 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1828, allocations: 0 / 0.6224 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.1829, allocations: 41.69 kB / 0.6225 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.183, allocations: 51.41 kB / 0.6225 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.183, allocations: 93.86 kB / 0.6226 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.1831, allocations: 25.7 kB / 0.6226 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.1831, allocations: 80.39 kB / 0.6227 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-05/0.1831, allocations: 15.95 kB / 0.6227 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1832, allocations: 21.58 kB / 0.6227 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1833, allocations: 314.8 kB / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.1833, allocations: 0 / 0.623 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.1833, allocations: 8 kB / 0.623 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.97e-05/0.1834, allocations: 8.859 kB / 0.6231 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1834, allocations: 0 / 0.6231 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.109e-05/0.1834, allocations: 45.64 kB / 0.6231 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1834, allocations: 7.938 kB / 0.6231 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1834, allocations: 8.094 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1835, allocations: 3.938 kB / 0.6231 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.1836, allocations: 8 kB / 0.6231 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004206/0.184, allocations: 0.5898 MB / 0.6237 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.745e-05/0.1841, allocations: 0 / 0.6237 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.1841, allocations: 0 / 0.6237 GB, free: 13.05 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.507e-05/0.1842, allocations: 118.8 kB / 0.6238 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-06/0.1842, allocations: 0 / 0.6238 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.1843, allocations: 53.03 kB / 0.6239 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1843, allocations: 0 / 0.6239 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1843, allocations: 0 / 0.6239 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1843, allocations: 0 / 0.6239 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.154e-05/0.1844, allocations: 105.3 kB / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1844, allocations: 0 / 0.624 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.1845, allocations: 11.98 kB / 0.624 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1845, allocations: 0 / 0.624 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-06/0.1845, allocations: 0 / 0.624 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003562/0.1848, allocations: 0.5861 MB / 0.6245 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1848, allocations: 3.938 kB / 0.6246 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.453e-05/0.1849, allocations: 73.05 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-06/0.1849, allocations: 0 / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.1849, allocations: 0 / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.411e-05/0.1849, allocations: 0 / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.1849, allocations: 3.938 kB / 0.6246 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/0.185, allocations: 8 kB / 0.6246 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.47e-05/0.185, allocations: 83.27 kB / 0.6247 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.185, allocations: 0 / 0.6247 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001991/0.1852, allocations: 12.19 kB / 0.6247 GB, free: 11.91 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.000162/0.1854, allocations: 107.2 kB / 0.6248 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.1855, allocations: 12 kB / 0.6248 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1855, allocations: 0 / 0.6248 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.1856, allocations: 23.92 kB / 0.6249 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.1857, allocations: 0 / 0.6249 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.1861, allocations: 118.1 kB / 0.625 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.1861, allocations: 59.34 kB / 0.625 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.463e-05/0.1862, allocations: 0 / 0.625 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.1862, allocations: 8.5 kB / 0.625 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1862, allocations: 0 / 0.625 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of Templates: time 0.002801/0.189, allocations: 458.2 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_dp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.437384616001509] Failed to read output from testmodel.py, exit status != 0: 0.19700449600350112 0.21242649100000002 0.027425500000000002 Calling exit ...