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.001923/0.001923, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002613/0.002613, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.199/1.199, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 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 178] 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.323e-06/1.323e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.97e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002571/0.0026, allocations: 1.263 MB / 0.6198 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003634, allocations: 0.5098 MB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.00366, allocations: 4 kB / 0.6203 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.003678, allocations: 3.938 kB / 0.6203 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.003731, allocations: 3.984 kB / 0.6203 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.004368, allocations: 139.3 kB / 0.6205 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.496e-05/0.004423, allocations: 15.92 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.004473, allocations: 4 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.838e-05/0.004512, allocations: 7.984 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.857e-05/0.00456, allocations: 4 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.004574, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004772/0.005051, allocations: 271.4 kB / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.005064, allocations: 0 / 0.6208 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.005084, allocations: 8 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.005371, allocations: 147.5 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005375, allocations: 3.938 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.143e-06/0.005376, allocations: 0 / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.00538, allocations: 4 kB / 0.6209 GB, free: 2.172 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.0004261/0.005806, allocations: 278 kB / 0.6212 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.005857, allocations: 11.97 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.847e-05/0.005886, allocations: 0.9375 kB / 0.6212 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.005996, allocations: 113.8 kB / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.006008, allocations: 384 / 0.6213 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.006016, allocations: 4.375 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.721e-05/0.006113, allocations: 34.27 kB / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.00612, allocations: 192 / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.006128, allocations: 384 / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.006135, allocations: 384 / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.006167, allocations: 15.86 kB / 0.6213 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.006309, allocations: 101.3 kB / 0.6214 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.006371, allocations: 26.55 kB / 0.6215 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.006392, allocations: 8.922 kB / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.006415, allocations: 0 / 0.6215 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.846e-05/0.006443, allocations: 34.56 kB / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.006444, allocations: 0 / 0.6215 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.006591, allocations: 49.62 kB / 0.6216 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.006633, allocations: 51.41 kB / 0.6216 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.602e-05/0.006719, allocations: 97.8 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.006739, allocations: 29.7 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.718e-05/0.006776, allocations: 80.14 kB / 0.6218 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.006802, allocations: 3.953 kB / 0.6218 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.006837, allocations: 13.72 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.006998, allocations: 323.1 kB / 0.6221 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.604e-05/0.007014, allocations: 4 kB / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.007021, allocations: 0 / 0.6221 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.141e-05/0.007053, allocations: 12.86 kB / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.007054, allocations: 0 / 0.6221 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.847e-05/0.007123, allocations: 45.59 kB / 0.6222 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.007138, allocations: 7.984 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.007144, allocations: 3.984 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.007158, allocations: 0 / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.007313, allocations: 8.094 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004511/0.007764, allocations: 0.5899 MB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.677e-05/0.007781, allocations: 0 / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.007789, allocations: 3.984 kB / 0.6228 GB, free: 48 kB / 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 0.0001039/0.007893, allocations: 106.8 kB / 0.6229 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.007906, allocations: 11.94 kB / 0.6229 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.008018, allocations: 48.94 kB / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008019, allocations: 0 / 0.6229 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.008023, allocations: 4.125 kB / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.008026, allocations: 0 / 0.623 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.008114, allocations: 101.3 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008115, allocations: 0 / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/0.008192, allocations: 11.98 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.008194, allocations: 3.938 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.008202, allocations: 3.938 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/0.008593, allocations: 0.5782 MB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.008598, allocations: 7.969 kB / 0.6236 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.258e-05/0.008691, allocations: 77.14 kB / 0.6237 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.008703, allocations: 7.938 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.008713, allocations: 4 kB / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.008726, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.008738, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.00874, allocations: 0 / 0.6237 GB, free: 15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.008786, allocations: 83.28 kB / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.008786, allocations: 0 / 0.6238 GB, free: 14.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000195/0.008981, allocations: 11.98 kB / 0.6238 GB, free: 14.91 MB / 0.545 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.0002096/0.00919, allocations: 111.3 kB / 0.6239 GB, free: 14.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.009349, allocations: 19.92 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009351, allocations: 0 / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.009452, allocations: 19.98 kB / 0.624 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.009596, allocations: 3.938 kB / 0.624 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.009967, allocations: 100 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.01002, allocations: 59.47 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.567e-05/0.01004, allocations: 4 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.01006, allocations: 8.5 kB / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.01006, allocations: 0 / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of Templates: time 0.003164/0.01322, allocations: 478.6 kB / 0.6246 GB, free: 14.1 MB / 0.545 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.772307310253382] Failed to read output from testmodel.py, exit status != 0: 0.022585511207580566 0.039868419 0.030571732 Calling exit ...