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.005797/0.005797, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001182/0.001182, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.485/1.485, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4164/0.4164, allocations: 54.94 MB / 324.8 MB, free: 15.89 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.001431/0.001431, allocations: 69.22 kB / 456.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 59.59 MB / 0.5037 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002203/0.1346, allocations: 1.27 MB / 0.505 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.1354, allocations: 0.5041 MB / 0.5054 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.1354, allocations: 3.938 kB / 0.5054 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.094e-05/0.1354, allocations: 3.984 kB / 0.5055 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.1355, allocations: 5.312 kB / 0.5055 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1359, allocations: 124.5 kB / 0.5056 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.923e-05/0.136, allocations: 21.3 kB / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.136, allocations: 1.344 kB / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.382e-05/0.1361, allocations: 9.625 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.99e-05/0.1361, allocations: 11.53 kB / 0.5056 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1362, allocations: 1.312 kB / 0.5056 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.1367, allocations: 346.2 kB / 0.5059 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1367, allocations: 9 kB / 0.506 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.1367, allocations: 7.422 kB / 0.506 GB, free: 7.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.137, allocations: 135.8 kB / 0.5061 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.137, allocations: 1.344 kB / 0.5061 GB, free: 7.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.137, allocations: 0 / 0.5061 GB, free: 7.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.137, allocations: 0 / 0.5061 GB, free: 7.859 MB / 382.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.0003711/0.1374, allocations: 361.3 kB / 0.5064 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1374, allocations: 14.09 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.1375, allocations: 2.281 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.1376, allocations: 166.2 kB / 0.5066 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1376, allocations: 384 / 0.5066 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1376, allocations: 5.938 kB / 0.5066 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1388, allocations: 218.3 kB / 0.5068 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.1388, allocations: 192 / 0.5068 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.1388, allocations: 9.281 kB / 0.5068 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.1389, allocations: 3.984 kB / 0.5068 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1399, allocations: 194.4 kB / 0.507 GB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1402, allocations: 257.5 kB / 0.5073 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1413, allocations: 222 kB / 0.5075 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.1414, allocations: 21.09 kB / 0.5075 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.1418, allocations: 215.1 kB / 0.5077 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.1419, allocations: 35.88 kB / 0.5077 GB, free: 6.395 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.1419, allocations: 0 / 0.5077 GB, free: 6.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002068/0.1439, allocations: 400 kB / 0.5081 GB, free: 6.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.144, allocations: 52.5 kB / 0.5082 GB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.333e-05/0.144, allocations: 106.5 kB / 0.5083 GB, free: 6.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.144, allocations: 25.7 kB / 0.5083 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.1441, allocations: 88.08 kB / 0.5084 GB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.1441, allocations: 14.92 kB / 0.5084 GB, free: 5.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.1441, allocations: 17.05 kB / 0.5084 GB, free: 5.895 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.1442, allocations: 315.9 kB / 0.5087 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.1444, allocations: 53.42 kB / 0.5088 GB, free: 5.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.1447, allocations: 73.97 kB / 0.5088 GB, free: 5.504 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.1451, allocations: 113.6 kB / 0.5089 GB, free: 5.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1451, allocations: 0 / 0.5089 GB, free: 5.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004775/0.1456, allocations: 165.4 kB / 0.5091 GB, free: 5.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1456, allocations: 4 kB / 0.5091 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1456, allocations: 4 kB / 0.5091 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1456, allocations: 4.031 kB / 0.5091 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1458, allocations: 27.97 kB / 0.5091 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1459, allocations: 0 / 0.5091 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.146, allocations: 23.98 kB / 0.5092 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.146, allocations: 3.984 kB / 0.5092 GB, free: 5.152 MB / 382.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 5.502e-05/0.1461, allocations: 117.7 kB / 0.5093 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.1461, allocations: 4 kB / 0.5093 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.1462, allocations: 3.5 kB / 0.5093 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1462, allocations: 0 / 0.5093 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1462, allocations: 4 kB / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1462, allocations: 0 / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1463, allocations: 178 kB / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1463, allocations: 0 / 0.5095 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1465, allocations: 31.91 kB / 0.5095 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1465, allocations: 0 / 0.5095 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1465, allocations: 3.938 kB / 0.5095 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1465, allocations: 0 / 0.5095 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1465, allocations: 4 kB / 0.5095 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.1471, allocations: 247.4 kB / 0.5097 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.1471, allocations: 77.11 kB / 0.5098 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.1471, allocations: 4.125 kB / 0.5098 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.1473, allocations: 23.97 kB / 0.5098 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.86e-05/0.1473, allocations: 4 kB / 0.5098 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1473, allocations: 4 kB / 0.5098 GB, free: 4.363 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.1474, allocations: 75.28 kB / 0.5099 GB, free: 4.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1474, allocations: 0 / 0.5099 GB, free: 4.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1476, allocations: 16 kB / 0.5099 GB, free: 4.273 MB / 382.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 9.52e-05/0.1477, allocations: 103.2 kB / 0.51 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004995/0.1482, allocations: 116 kB / 0.5101 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1482, allocations: 0 / 0.5101 GB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002191/0.1484, allocations: 55.95 kB / 0.5102 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.1487, allocations: 3.938 kB / 0.5102 GB, free: 3.988 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005888/0.1493, allocations: 206.3 kB / 0.5104 GB, free: 3.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1494, allocations: 0.6768 MB / 0.5111 GB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1494, allocations: 12 kB / 0.5111 GB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.1495, allocations: 15.42 kB / 0.5111 GB, free: 3.031 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1495, allocations: 0 / 0.5111 GB, free: 3.031 MB / 382.1 MB Notification: Performance of Templates: time 0.002166/0.1517, allocations: 0.524 MB / 0.5116 GB, free: 2.508 MB / 382.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)