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.0009165/0.0009165, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009742/0.0009742, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.104/1.104, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8817/0.8817, allocations: 154.6 MB / 414.8 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0.6562 kB / 480 MB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.788e-05, allocations: 4.281 kB / 480 MB, free: 6.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001765/0.001783, allocations: 1.349 MB / 481.4 MB, free: 5.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.002535, allocations: 0.5571 MB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.002558, allocations: 0 / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.611e-05/0.002574, allocations: 1.094 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.537e-05/0.002619, allocations: 2.484 kB / 482 MB, free: 4.973 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.003016, allocations: 137.3 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.506e-05/0.003061, allocations: 12.48 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.262e-05/0.003094, allocations: 0.8438 kB / 482.1 MB, free: 4.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.227e-05/0.003126, allocations: 7.984 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.003165, allocations: 5.531 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.003176, allocations: 0 / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003198/0.003496, allocations: 279.9 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.003508, allocations: 0 / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.352e-05/0.003521, allocations: 9.188 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.003702, allocations: 143.6 kB / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003703, allocations: 0 / 482.5 MB, free: 4.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.003704, allocations: 4.531 kB / 482.5 MB, free: 4.406 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.003708, allocations: 0 / 482.5 MB, free: 4.406 MB / 442.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.0002345/0.003942, allocations: 261.3 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.003971, allocations: 8.031 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.003992, allocations: 5.75 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.17e-05/0.004064, allocations: 101.8 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.004072, allocations: 1.188 kB / 482.9 MB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.004079, allocations: 8.359 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.332e-05/0.004132, allocations: 26.92 kB / 482.9 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.004139, allocations: 0.7812 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-06/0.004145, allocations: 384 / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.00415, allocations: 5 kB / 483 MB, free: 3.949 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.121e-05/0.004161, allocations: 8.5 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.042e-05/0.004242, allocations: 61.05 kB / 483 MB, free: 3.867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.004276, allocations: 23.22 kB / 483 MB, free: 3.836 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.878e-06/0.004286, allocations: 5.547 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.004298, allocations: 4 kB / 483.1 MB, free: 3.824 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.004315, allocations: 31.16 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.004316, allocations: 0.8125 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 8.071e-05/0.004396, allocations: 39.42 kB / 483.1 MB, free: 3.742 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.004421, allocations: 51.41 kB / 483.2 MB, free: 3.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.004469, allocations: 106.7 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.004477, allocations: 25.7 kB / 483.3 MB, free: 3.531 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.004494, allocations: 80.67 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.004522, allocations: 12.23 kB / 483.4 MB, free: 3.438 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.971e-05/0.004542, allocations: 14.72 kB / 483.4 MB, free: 3.418 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.66e-05/0.004608, allocations: 314.8 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-06/0.004614, allocations: 4.75 kB / 483.7 MB, free: 3.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.004621, allocations: 3.984 kB / 483.7 MB, free: 3.094 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.014e-05/0.004641, allocations: 10.64 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.004642, allocations: 0 / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.914e-05/0.004681, allocations: 37.64 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.004691, allocations: 4.75 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.004695, allocations: 0 / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.004707, allocations: 10.69 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.004807, allocations: 11.94 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002318/0.005039, allocations: 0.5867 MB / 484.4 MB, free: 2.406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.16e-05/0.005051, allocations: 3.938 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.005055, allocations: 1.906 kB / 484.4 MB, free: 2.402 MB / 442.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 5.287e-05/0.005107, allocations: 113.8 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-06/0.005112, allocations: 0 / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.005179, allocations: 42.47 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.005182, allocations: 7.938 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.005183, allocations: 0.75 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005186, allocations: 0 / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.931e-05/0.005235, allocations: 67.11 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.005236, allocations: 0 / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.722e-05/0.005284, allocations: 7.984 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.005286, allocations: 0.9688 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-06/0.005289, allocations: 0 / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001872/0.005476, allocations: 0.587 MB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.005477, allocations: 0 / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.309e-05/0.00552, allocations: 62 kB / 485.3 MB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.654e-06/0.005528, allocations: 7.938 kB / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.712e-06/0.005535, allocations: 1.406 kB / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-06/0.005541, allocations: 0 / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-06/0.00555, allocations: 0 / 485.3 MB, free: 1.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.005553, allocations: 5.547 kB / 485.3 MB, free: 1.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.467e-06/0.005563, allocations: 9.422 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005563, allocations: 0.5938 kB / 485.3 MB, free: 1.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000114/0.005677, allocations: 17.36 kB / 485.3 MB, free: 1.414 MB / 442.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.0001004/0.005777, allocations: 82.92 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.005872, allocations: 21.72 kB / 485.4 MB, free: 1.301 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.005874, allocations: 0 / 485.4 MB, free: 1.301 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.005904, allocations: 17.56 kB / 485.4 MB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.57e-05/0.00596, allocations: 5.031 kB / 485.4 MB, free: 1.277 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.006163, allocations: 123.4 kB / 485.6 MB, free: 1.133 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.363e-05/0.006186, allocations: 55.36 kB / 485.6 MB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.368e-05/0.0062, allocations: 5.453 kB / 485.6 MB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.006224, allocations: 47.38 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of SimCode: time 4.71e-07/0.006225, allocations: 0.8438 kB / 485.7 MB, free: 1.008 MB / 442.7 MB Notification: Performance of Templates: time 0.001923/0.008148, allocations: 0.5125 MB / 486.2 MB, free: 0.5508 MB / 442.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.651059857569635]