Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.0009774/0.0009774, 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.001021/0.001021, 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 0.9084/0.9084, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-535:34: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-535:42: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.8293/0.8293, allocations: 154.9 MB / 415.1 MB, free: 232 kB / 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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.648e-05, allocations: 4.703 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001597/0.001613, allocations: 1.333 MB / 481.7 MB, free: 5.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007151/0.002328, allocations: 0.5636 MB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.002352, allocations: 0 / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.002369, allocations: 0.5 kB / 482.3 MB, free: 4.668 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.746e-05/0.002416, allocations: 8.234 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.002805, allocations: 146.1 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.002853, allocations: 23.09 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.002886, allocations: 4 kB / 482.4 MB, free: 4.508 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.159e-05/0.002918, allocations: 11.92 kB / 482.4 MB, free: 4.496 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.002963, allocations: 4.781 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.002975, allocations: 4 kB / 482.5 MB, free: 4.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.003253, allocations: 275.9 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.003265, allocations: 0.9375 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.412e-05/0.003279, allocations: 7.984 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.003462, allocations: 155.5 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.003464, allocations: 0.5312 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.6e-07/0.003465, allocations: 1.312 kB / 482.9 MB, free: 4.059 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.385e-06/0.003467, allocations: 0 / 482.9 MB, free: 4.059 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002976/0.003764, allocations: 264.4 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.829e-05/0.003793, allocations: 8.688 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.364e-05/0.003816, allocations: 8.922 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.264e-05/0.003879, allocations: 107 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.003889, allocations: 1.172 kB / 483.3 MB, free: 3.633 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.003899, allocations: 4.375 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.545e-05/0.003964, allocations: 43.03 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.003971, allocations: 192 / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.003977, allocations: 5.469 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.003983, allocations: 4.375 kB / 483.3 MB, free: 3.574 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.004004, allocations: 8.969 kB / 483.3 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.004182, allocations: 157.2 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.004308, allocations: 36.38 kB / 483.5 MB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.004323, allocations: 12.84 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.004338, allocations: 7.938 kB / 483.5 MB, free: 3.332 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.004356, allocations: 34.62 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.004358, allocations: 2.328 kB / 483.6 MB, free: 3.289 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 9.489e-05/0.004453, allocations: 41.69 kB / 483.6 MB, free: 3.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.004481, allocations: 59.34 kB / 483.7 MB, free: 3.172 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.335e-05/0.004534, allocations: 105.4 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.004544, allocations: 25.7 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.004576, allocations: 88.06 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.004583, allocations: 11.91 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.378e-05/0.004607, allocations: 18.33 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.498e-05/0.004682, allocations: 314.8 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.163e-05/0.004694, allocations: 16.95 kB / 484.2 MB, free: 2.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.74e-05/0.004711, allocations: 13.72 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.004739, allocations: 22.23 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004741, allocations: 1.094 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.695e-05/0.004788, allocations: 53.62 kB / 484.3 MB, free: 2.465 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004799, allocations: 4.625 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.004803, allocations: 0 / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.004815, allocations: 0.625 kB / 484.3 MB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.727e-05/0.004842, allocations: 12.56 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.004844, allocations: 0 / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.256e-05/0.004857, allocations: 4.625 kB / 484.4 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.539e-06/0.004861, allocations: 3.984 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.004918, allocations: 114.5 kB / 484.5 MB, free: 2.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.004931, allocations: 5.234 kB / 484.5 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.864e-05/0.005009, allocations: 53.91 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.005011, allocations: 0.8125 kB / 484.5 MB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.005013, allocations: 4.594 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.005016, allocations: 1.781 kB / 484.5 MB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.756e-05/0.005093, allocations: 73.78 kB / 484.6 MB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.02e-07/0.005094, allocations: 3.938 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.005108, allocations: 8 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.005109, allocations: 0 / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-06/0.005113, allocations: 0.8438 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005114, allocations: 0 / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005114, allocations: 0 / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.005184, allocations: 149.4 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-06/0.00519, allocations: 0 / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-06/0.005196, allocations: 1.531 kB / 484.8 MB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.005221, allocations: 4 kB / 484.8 MB, free: 1.984 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.005232, allocations: 4 kB / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.005233, allocations: 0 / 484.8 MB, free: 1.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.879e-06/0.005243, allocations: 13.58 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005243, allocations: 5.719 kB / 484.8 MB, free: 1.961 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.005382, allocations: 15.94 kB / 484.8 MB, free: 1.945 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.005498, allocations: 100.3 kB / 484.9 MB, free: 1.836 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.677e-05/0.005555, allocations: 29.72 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.005558, allocations: 0.625 kB / 484.9 MB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-05/0.005569, allocations: 12.86 kB / 484.9 MB, free: 1.789 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.384e-05/0.005663, allocations: 5.188 kB / 485 MB, free: 1.785 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002071/0.00587, allocations: 117.5 kB / 485.1 MB, free: 1.648 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.327e-05/0.005903, allocations: 63.28 kB / 485.1 MB, free: 1.566 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.372e-05/0.005927, allocations: 9.578 kB / 485.1 MB, free: 1.559 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.005957, allocations: 51.38 kB / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of SimCode: time 3.81e-07/0.005957, allocations: 0 / 485.2 MB, free: 1.508 MB / 442.7 MB Notification: Performance of Templates: time 0.001992/0.007949, allocations: 0.584 MB / 485.8 MB, free: 0.9688 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5486024087294936]