Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009823/0.0009823, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007965/0.0007965, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9301/0.9301, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7185/0.7185, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 4 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.316e-05, allocations: 5.672 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001838/0.001871, allocations: 1.269 MB / 0.6205 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009071/0.002778, allocations: 0.5176 MB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.00282, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.002847, allocations: 0 / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.0029, allocations: 3.938 kB / 0.621 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.003386, allocations: 139.3 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.003449, allocations: 11.94 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.003503, allocations: 4 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.003543, allocations: 3.984 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.003602, allocations: 11.98 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.003619, allocations: 0 / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003136/0.003933, allocations: 267.4 kB / 0.6214 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.003954, allocations: 8 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.003974, allocations: 3.938 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.004189, allocations: 147.6 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.004192, allocations: 0 / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.774e-06/0.004193, allocations: 0 / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004199, allocations: 4 kB / 0.6216 GB, free: 10.82 MB / 0.5886 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.0006244/0.004823, allocations: 274 kB / 0.6219 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.004874, allocations: 13.41 kB / 0.6219 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.004916, allocations: 4.938 kB / 0.6219 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.005014, allocations: 105.8 kB / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.005027, allocations: 384 / 0.622 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.005037, allocations: 8.297 kB / 0.622 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.005146, allocations: 34.25 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005154, allocations: 192 / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.005166, allocations: 4.375 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.005171, allocations: 4.375 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.728e-05/0.005198, allocations: 3.938 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.005334, allocations: 101.3 kB / 0.6221 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.005389, allocations: 18.61 kB / 0.6221 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.00541, allocations: 20.84 kB / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.005434, allocations: 0 / 0.6222 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.005457, allocations: 34.56 kB / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.005457, allocations: 0 / 0.6222 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.005614, allocations: 41.66 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.005649, allocations: 55.53 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.00572, allocations: 101.8 kB / 0.6224 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.005732, allocations: 25.7 kB / 0.6224 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.005758, allocations: 80.14 kB / 0.6225 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.005796, allocations: 7.953 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.521e-05/0.005821, allocations: 13.72 kB / 0.6225 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.005908, allocations: 310.8 kB / 0.6228 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.005921, allocations: 7.938 kB / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.005929, allocations: 0 / 0.6228 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.005957, allocations: 25.03 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.00596, allocations: 0 / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.738e-05/0.006007, allocations: 33.7 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.006022, allocations: 4 kB / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.006028, allocations: 0 / 0.6229 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.006043, allocations: 4 kB / 0.6229 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.006206, allocations: 7.984 kB / 0.6229 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003017/0.006508, allocations: 0.5937 MB / 0.6235 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.006522, allocations: 7.875 kB / 0.6235 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.006529, allocations: 4.125 kB / 0.6235 GB, free: 8.699 MB / 0.5886 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 6.305e-05/0.006592, allocations: 110.9 kB / 0.6236 GB, free: 8.582 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.006598, allocations: 7.938 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.006705, allocations: 45 kB / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.006707, allocations: 0 / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.006713, allocations: 0 / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.006716, allocations: 0 / 0.6236 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.882e-05/0.006785, allocations: 113.2 kB / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.006786, allocations: 0 / 0.6237 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.00684, allocations: 12.03 kB / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.006842, allocations: 0 / 0.6238 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.006849, allocations: 3.938 kB / 0.6238 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002054/0.007055, allocations: 0.5899 MB / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007055, allocations: 0 / 0.6243 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.028e-05/0.007106, allocations: 65.05 kB / 0.6244 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.007113, allocations: 4 kB / 0.6244 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.007124, allocations: 3.984 kB / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.007131, allocations: 0 / 0.6244 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.007145, allocations: 4.125 kB / 0.6244 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.007149, allocations: 4 kB / 0.6244 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.007174, allocations: 75.28 kB / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.007174, allocations: 0 / 0.6245 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001336/0.007307, allocations: 8 kB / 0.6245 GB, free: 7.57 MB / 0.5886 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.0001469/0.007454, allocations: 107.2 kB / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001341/0.007588, allocations: 19.98 kB / 0.6246 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00759, allocations: 4.156 kB / 0.6246 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-05/0.007622, allocations: 19.92 kB / 0.6246 GB, free: 7.414 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.007743, allocations: 3.938 kB / 0.6246 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003091/0.008052, allocations: 130.6 kB / 0.6248 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.901e-05/0.008091, allocations: 55.36 kB / 0.6248 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.008107, allocations: 8.5 kB / 0.6248 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of SimCode: time 5.41e-07/0.008108, allocations: 0 / 0.6248 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of Templates: time 0.001889/0.009996, allocations: 0.7132 MB / 0.6255 GB, free: 6.457 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.392072543501854] Failed to read output from testmodel.py, exit status != 0: 0.015345674939453602 0.023934827000000002 0.018019957 Calling exit ...