Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007436/0.007436, allocations: 101.7 kB / 15.73 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001295, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2723/0.2723, allocations: 54.97 MB / 324.9 MB, free: 4.844 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 71.83 kB / 456.2 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1312, allocations: 59.59 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003111/0.1343, allocations: 1.274 MB / 0.505 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1354, allocations: 0.502 MB / 0.5054 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.1355, allocations: 4 kB / 0.5054 GB, free: 5.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.1356, allocations: 3.984 kB / 0.5054 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.485e-05/0.1357, allocations: 7.938 kB / 0.5055 GB, free: 5.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006884/0.1363, allocations: 119.5 kB / 0.5056 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.192e-05/0.1364, allocations: 19.86 kB / 0.5056 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.1365, allocations: 8 kB / 0.5056 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.1365, allocations: 11.94 kB / 0.5056 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.036e-05/0.1366, allocations: 7.984 kB / 0.5056 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1366, allocations: 0 / 0.5056 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.1372, allocations: 347.4 kB / 0.5059 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1372, allocations: 4 kB / 0.506 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.03e-05/0.1373, allocations: 11.92 kB / 0.506 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.1375, allocations: 131.7 kB / 0.5061 GB, free: 4.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1375, allocations: 4 kB / 0.5061 GB, free: 4.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1375, allocations: 0 / 0.5061 GB, free: 4.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1375, allocations: 4 kB / 0.5061 GB, free: 4.617 MB / 398.1 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.000488/0.138, allocations: 359.3 kB / 0.5064 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1381, allocations: 8.031 kB / 0.5064 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.1381, allocations: 4.938 kB / 0.5065 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.1383, allocations: 164.3 kB / 0.5066 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1383, allocations: 384 / 0.5066 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1383, allocations: 4.375 kB / 0.5066 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1395, allocations: 222 kB / 0.5068 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1396, allocations: 4.188 kB / 0.5068 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1396, allocations: 3.938 kB / 0.5068 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1396, allocations: 3.938 kB / 0.5068 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1406, allocations: 195.8 kB / 0.507 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.141, allocations: 245 kB / 0.5073 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.1422, allocations: 226.3 kB / 0.5075 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.1422, allocations: 20.84 kB / 0.5075 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005075/0.1427, allocations: 210.1 kB / 0.5077 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1428, allocations: 34.56 kB / 0.5077 GB, free: 2.746 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1428, allocations: 4 kB / 0.5077 GB, free: 2.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.002098/0.1449, allocations: 413 kB / 0.5081 GB, free: 2.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.145, allocations: 51.41 kB / 0.5082 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.145, allocations: 97.84 kB / 0.5083 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1451, allocations: 29.7 kB / 0.5083 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.1451, allocations: 84.14 kB / 0.5084 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.1452, allocations: 11.75 kB / 0.5084 GB, free: 2.031 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.923e-05/0.1452, allocations: 29.7 kB / 0.5084 GB, free: 1.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1453, allocations: 310.8 kB / 0.5087 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.1456, allocations: 55.95 kB / 0.5088 GB, free: 1.629 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1459, allocations: 66.48 kB / 0.5088 GB, free: 1.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/0.1463, allocations: 125.6 kB / 0.5089 GB, free: 1.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1464, allocations: 0 / 0.5089 GB, free: 1.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005146/0.1469, allocations: 145.5 kB / 0.5091 GB, free: 1.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1469, allocations: 11.98 kB / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1469, allocations: 0 / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1469, allocations: 0 / 0.5091 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1471, allocations: 35.94 kB / 0.5091 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1471, allocations: 4 kB / 0.5091 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1473, allocations: 20.11 kB / 0.5092 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1473, allocations: 11.98 kB / 0.5092 GB, free: 1.199 MB / 398.1 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 8.879e-05/0.1474, allocations: 113.8 kB / 0.5093 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1475, allocations: 7.906 kB / 0.5093 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.1475, allocations: 7.922 kB / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1475, allocations: 0 / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1475, allocations: 0 / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1475, allocations: 0 / 0.5093 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.1477, allocations: 173.5 kB / 0.5095 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1477, allocations: 3.984 kB / 0.5095 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.1479, allocations: 31.97 kB / 0.5095 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1479, allocations: 0 / 0.5095 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.148, allocations: 0 / 0.5095 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.148, allocations: 0 / 0.5095 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.148, allocations: 4 kB / 0.5095 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005356/0.1485, allocations: 247.3 kB / 0.5097 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.1486, allocations: 81.02 kB / 0.5098 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.1486, allocations: 0 / 0.5098 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/0.1488, allocations: 27.98 kB / 0.5098 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.1488, allocations: 3.984 kB / 0.5098 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1488, allocations: 0 / 0.5098 GB, free: 424 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.1489, allocations: 79.28 kB / 0.5099 GB, free: 344 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1489, allocations: 0 / 0.5099 GB, free: 344 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1491, allocations: 8 kB / 0.5099 GB, free: 336 kB / 398.1 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.0001095/0.1492, allocations: 111.1 kB / 0.51 GB, free: 212 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005273/0.1497, allocations: 119.9 kB / 0.5101 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1498, allocations: 0 / 0.5101 GB, free: 92 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.15, allocations: 59.95 kB / 0.5102 GB, free: 32 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1502, allocations: 11.22 kB / 0.5102 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006556/0.1509, allocations: 206 kB / 0.5104 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1511, allocations: 0.6768 MB / 0.5111 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.308e-05/0.1512, allocations: 8 kB / 0.5111 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.1513, allocations: 7.438 kB / 0.5111 GB, free: 15.08 MB / 414.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1513, allocations: 0 / 0.5111 GB, free: 15.08 MB / 414.1 MB Notification: Performance of Templates: time 0.002775/0.1541, allocations: 0.5406 MB / 0.5116 GB, free: 14.57 MB / 414.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)