Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008956/0.0008956, allocations: 76.55 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.0009453/0.0009453, allocations: 181.9 kB / 23.22 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.8942/0.8942, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7136/0.7136, allocations: 154.5 MB / 414.5 MB, free: 0.8633 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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.633e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002504/0.00254, allocations: 1.272 MB / 0.6205 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.003511, allocations: 0.5137 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.003542, allocations: 0 / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.446e-05/0.003567, allocations: 3.938 kB / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.003615, allocations: 0 / 0.621 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.004208, allocations: 150.6 kB / 0.6212 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.888e-05/0.004267, allocations: 15.88 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.004315, allocations: 7.969 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.004349, allocations: 4 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.271e-05/0.004392, allocations: 8 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.004405, allocations: 0 / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002876/0.004693, allocations: 267.4 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.004709, allocations: 3.984 kB / 0.6215 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.004728, allocations: 4 kB / 0.6215 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004927, allocations: 151.5 kB / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.004931, allocations: 0 / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004932, allocations: 0 / 0.6216 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.004936, allocations: 0 / 0.6216 GB, free: 10.84 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.0003382/0.005275, allocations: 274 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.005314, allocations: 17.47 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.005345, allocations: 0.9375 kB / 0.6219 GB, free: 10.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.494e-05/0.00543, allocations: 105.8 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.005441, allocations: 384 / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.005448, allocations: 4.312 kB / 0.622 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.968e-05/0.005538, allocations: 34.25 kB / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.005545, allocations: 192 / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.005554, allocations: 384 / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.005559, allocations: 384 / 0.622 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.454e-05/0.005583, allocations: 19.81 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.005703, allocations: 97.33 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.005757, allocations: 30.59 kB / 0.6222 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.846e-05/0.005775, allocations: 4.922 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.005797, allocations: 4 kB / 0.6222 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.00582, allocations: 30.56 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.00582, allocations: 0 / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.005996, allocations: 45.59 kB / 0.6222 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.006036, allocations: 55.41 kB / 0.6223 GB, free: 10 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.372e-05/0.006109, allocations: 97.78 kB / 0.6224 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006124, allocations: 33.95 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.006156, allocations: 80.14 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.006187, allocations: 7.953 kB / 0.6225 GB, free: 9.77 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.006218, allocations: 13.72 kB / 0.6225 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.006336, allocations: 310.8 kB / 0.6228 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.006355, allocations: 3.984 kB / 0.6228 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.239e-05/0.006367, allocations: 8 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.491e-05/0.006402, allocations: 8.859 kB / 0.6228 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.006405, allocations: 0 / 0.6228 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.522e-05/0.00648, allocations: 41.73 kB / 0.6229 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.006494, allocations: 12 kB / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.006499, allocations: 0 / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.006512, allocations: 0 / 0.6229 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.006684, allocations: 11.98 kB / 0.6229 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003799/0.007063, allocations: 0.5821 MB / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.716e-05/0.007091, allocations: 0 / 0.6235 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.007097, allocations: 4.031 kB / 0.6235 GB, free: 8.734 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 7.942e-05/0.007176, allocations: 106.8 kB / 0.6236 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.007187, allocations: 12.02 kB / 0.6236 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.007313, allocations: 44.95 kB / 0.6236 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.007316, allocations: 4 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.007321, allocations: 3.938 kB / 0.6236 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.007326, allocations: 3.984 kB / 0.6236 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.94e-05/0.007405, allocations: 101.3 kB / 0.6237 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.007408, allocations: 4 kB / 0.6237 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.00749, allocations: 11.98 kB / 0.6238 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.007493, allocations: 0 / 0.6238 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.007502, allocations: 3.938 kB / 0.6238 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002764/0.007779, allocations: 0.5899 MB / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.007781, allocations: 0 / 0.6243 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.941e-05/0.00785, allocations: 69.09 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.007858, allocations: 3.938 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.007869, allocations: 3.938 kB / 0.6244 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.521e-05/0.007885, allocations: 4 kB / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.0079, allocations: 0 / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.007903, allocations: 0 / 0.6244 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.007934, allocations: 83.41 kB / 0.6245 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.007934, allocations: 0 / 0.6245 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002198/0.008154, allocations: 4 kB / 0.6245 GB, free: 7.598 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.0001932/0.008347, allocations: 115.2 kB / 0.6246 GB, free: 7.477 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.008516, allocations: 19.92 kB / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.008518, allocations: 0 / 0.6246 GB, free: 7.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.008571, allocations: 15.98 kB / 0.6246 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.008737, allocations: 8.922 kB / 0.6246 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.009136, allocations: 122.7 kB / 0.6248 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.00919, allocations: 59.36 kB / 0.6248 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.009211, allocations: 12.48 kB / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.009211, allocations: 0 / 0.6248 GB, free: 7.195 MB / 0.5886 GB Notification: Performance of Templates: time 0.002033/0.01124, allocations: 0.7135 MB / 0.6255 GB, free: 6.484 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.382827463559806] Failed to read output from testmodel.py, exit status != 0: 0.018113759346306324 0.025475193 0.018894651000000002 Calling exit ...