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.0006998/0.0006998, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008357/0.001536, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007408/0.0007408, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008748/0.001616, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.003/1.003, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09756/1.1, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.8079/0.8079, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2816/1.09, allocations: 49.04 MB / 447.6 MB, free: 6.672 MB / 426.7 MB " [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_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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0.6562 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.993e-05/3.17e-05, allocations: 8.047 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002777/0.002809, allocations: 1.344 MB / 450.2 MB, free: 4.066 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.003735, allocations: 0.5547 MB / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.003759, allocations: 0 / 450.8 MB, free: 3.52 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.016e-05/0.003769, allocations: 4.594 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.757e-05/0.003797, allocations: 1.969 kB / 450.8 MB, free: 3.516 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004525/0.004249, allocations: 134.4 kB / 450.9 MB, free: 3.395 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.004311, allocations: 9.344 kB / 450.9 MB, free: 3.391 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.004356, allocations: 7.984 kB / 450.9 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.422e-05/0.004411, allocations: 6.906 kB / 450.9 MB, free: 3.379 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.004463, allocations: 4.859 kB / 450.9 MB, free: 3.375 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.004479, allocations: 4 kB / 451 MB, free: 3.371 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.004867, allocations: 274.2 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.054e-05/0.004877, allocations: 4.844 kB / 451.2 MB, free: 3.102 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.384e-05/0.004891, allocations: 4 kB / 451.2 MB, free: 3.098 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.005082, allocations: 123.6 kB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.005094, allocations: 1.875 kB / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005095, allocations: 0 / 451.4 MB, free: 2.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.005104, allocations: 0 / 451.4 MB, free: 2.977 MB / 426.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.0002933/0.005398, allocations: 268.3 kB / 451.6 MB, free: 2.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.005428, allocations: 8.906 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.005448, allocations: 0.9375 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.371e-05/0.005542, allocations: 113.1 kB / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.005556, allocations: 384 / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-06/0.005562, allocations: 384 / 451.7 MB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.005623, allocations: 34.25 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.005628, allocations: 0.875 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.005634, allocations: 1.438 kB / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.005637, allocations: 384 / 451.8 MB, free: 2.508 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.241e-05/0.005649, allocations: 13.05 kB / 451.8 MB, free: 2.496 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.882e-05/0.005728, allocations: 65.64 kB / 451.8 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.005766, allocations: 22.61 kB / 451.9 MB, free: 2.391 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.005779, allocations: 6.172 kB / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.005794, allocations: 0 / 451.9 MB, free: 2.383 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.005813, allocations: 34.62 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 6.11e-07/0.005814, allocations: 0.6562 kB / 451.9 MB, free: 2.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 7.974e-05/0.005893, allocations: 38.84 kB / 451.9 MB, free: 2.297 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.005919, allocations: 55.41 kB / 452 MB, free: 2.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.549e-05/0.005965, allocations: 95.78 kB / 452.1 MB, free: 2.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.005975, allocations: 29.7 kB / 452.1 MB, free: 2.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.907e-05/0.005994, allocations: 84.14 kB / 452.2 MB, free: 2.004 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.00602, allocations: 13.08 kB / 452.2 MB, free: 1.992 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.056e-05/0.00604, allocations: 17.72 kB / 452.2 MB, free: 1.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006151, allocations: 314.8 kB / 452.5 MB, free: 1.652 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.201e-06/0.006158, allocations: 0.7188 kB / 452.5 MB, free: 1.652 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-06/0.006163, allocations: 4 kB / 452.5 MB, free: 1.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.006183, allocations: 14.3 kB / 452.6 MB, free: 1.633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.006185, allocations: 0 / 452.6 MB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.181e-05/0.006217, allocations: 37.69 kB / 452.6 MB, free: 1.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.006227, allocations: 5.5 kB / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.006231, allocations: 0 / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/0.006237, allocations: 0 / 452.6 MB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.006353, allocations: 11.98 kB / 452.6 MB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002282/0.006582, allocations: 0.5915 MB / 453.2 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.006595, allocations: 4 kB / 453.2 MB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.006599, allocations: 0 / 453.2 MB, free: 0.957 MB / 426.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 4.709e-05/0.006646, allocations: 109.8 kB / 453.3 MB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-06/0.006651, allocations: 5.734 kB / 453.3 MB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.006714, allocations: 41 kB / 453.4 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.006716, allocations: 3.938 kB / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.006718, allocations: 0 / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006721, allocations: 0 / 453.4 MB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.032e-05/0.006772, allocations: 69.89 kB / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006772, allocations: 0 / 453.4 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.006811, allocations: 8 kB / 453.4 MB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-06/0.006816, allocations: 4.516 kB / 453.5 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.006819, allocations: 5.219 kB / 453.5 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.006823, allocations: 3.984 kB / 453.5 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000167/0.00699, allocations: 0.5788 MB / 454 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.006991, allocations: 7.984 kB / 454 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.015e-05/0.007042, allocations: 62.5 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.007049, allocations: 3.938 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.007056, allocations: 4.625 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.00707, allocations: 3.938 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.007072, allocations: 0.5625 kB / 454.1 MB, free: 15.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.036e-06/0.00708, allocations: 9.484 kB / 454.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00708, allocations: 0.625 kB / 454.1 MB, free: 15.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001117/0.007192, allocations: 15.94 kB / 454.1 MB, free: 15.95 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.0001223/0.007314, allocations: 106.9 kB / 454.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.087e-05/0.007405, allocations: 12.86 kB / 454.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.007409, allocations: 0 / 454.3 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.007428, allocations: 12.86 kB / 454.3 MB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.733e-05/0.007486, allocations: 4.891 kB / 454.3 MB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.00798, allocations: 113.2 kB / 454.4 MB, free: 15.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.742e-05/0.008007, allocations: 60.77 kB / 454.4 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.672e-05/0.008024, allocations: 0 / 454.4 MB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.00805, allocations: 52.75 kB / 454.5 MB, free: 15.54 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008051, allocations: 0 / 454.5 MB, free: 15.54 MB / 442.7 MB Notification: Performance of Templates: time 0.001833/0.009884, allocations: 0.5111 MB / 455 MB, free: 15.1 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4730138070881367]