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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7166/0.7166, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 222.9 MB / 404.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 97.83 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 43.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.124, allocations: 80.43 MB / 0.6421 GB, free: 5.41 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002494/0.1265, allocations: 1.341 MB / 0.6435 GB, free: 4.047 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.1275, allocations: 0.6164 MB / 0.6441 GB, free: 3.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.1276, allocations: 3.938 kB / 0.6441 GB, free: 3.426 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.1276, allocations: 3.984 kB / 0.6441 GB, free: 3.422 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.492e-05/0.1277, allocations: 0 / 0.6441 GB, free: 3.422 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.1282, allocations: 120.6 kB / 0.6442 GB, free: 3.305 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.753e-05/0.1283, allocations: 27.86 kB / 0.6442 GB, free: 3.277 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.1283, allocations: 4 kB / 0.6442 GB, free: 3.273 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.1283, allocations: 4 kB / 0.6442 GB, free: 3.27 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.953e-05/0.1284, allocations: 11.92 kB / 0.6442 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1284, allocations: 0 / 0.6442 GB, free: 3.258 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.1289, allocations: 347.3 kB / 0.6446 GB, free: 2.918 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.1289, allocations: 4 kB / 0.6446 GB, free: 2.914 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.129, allocations: 11.92 kB / 0.6446 GB, free: 2.902 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1292, allocations: 143.9 kB / 0.6447 GB, free: 2.762 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.748e-06/0.1292, allocations: 0 / 0.6447 GB, free: 2.762 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1292, allocations: 0 / 0.6447 GB, free: 2.762 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1292, allocations: 4 kB / 0.6447 GB, free: 2.758 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.0004079/0.1296, allocations: 363.4 kB / 0.6451 GB, free: 2.355 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.1297, allocations: 12.03 kB / 0.6451 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.81e-05/0.1297, allocations: 0.9375 kB / 0.6451 GB, free: 2.344 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1298, allocations: 160.4 kB / 0.6452 GB, free: 2.148 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1299, allocations: 4.375 kB / 0.6452 GB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1299, allocations: 4.375 kB / 0.6452 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.13, allocations: 49.8 kB / 0.6453 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.13, allocations: 0 / 0.6453 GB, free: 2.086 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.13, allocations: 4 kB / 0.6453 GB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.13, allocations: 4 kB / 0.6453 GB, free: 2.078 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.1301, allocations: 19.92 kB / 0.6453 GB, free: 2.059 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.1304, allocations: 252.8 kB / 0.6455 GB, free: 1.762 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1306, allocations: 46.62 kB / 0.6456 GB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1307, allocations: 20.86 kB / 0.6456 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1307, allocations: 0 / 0.6456 GB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.1307, allocations: 34.56 kB / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1307, allocations: 0 / 0.6456 GB, free: 1.641 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001538/0.1309, allocations: 57.62 kB / 0.6457 GB, free: 1.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1309, allocations: 59.33 kB / 0.6458 GB, free: 1.508 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.131, allocations: 93.86 kB / 0.6458 GB, free: 1.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.131, allocations: 29.7 kB / 0.6459 GB, free: 1.371 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.131, allocations: 88.14 kB / 0.646 GB, free: 1.281 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.1311, allocations: 15.73 kB / 0.646 GB, free: 1.266 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.1311, allocations: 17.72 kB / 0.646 GB, free: 1.242 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1312, allocations: 318.7 kB / 0.6463 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.338e-05/0.1312, allocations: 12 kB / 0.6463 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.69e-05/0.1313, allocations: 17.7 kB / 0.6463 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.127e-05/0.1313, allocations: 37.66 kB / 0.6464 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1314, allocations: 0 / 0.6464 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.111e-05/0.1315, allocations: 57.62 kB / 0.6464 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1315, allocations: 8 kB / 0.6464 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1315, allocations: 0 / 0.6464 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1315, allocations: 0 / 0.6464 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.1316, allocations: 11.98 kB / 0.6464 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1316, allocations: 0 / 0.6464 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1316, allocations: 3.906 kB / 0.6464 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.1316, allocations: 4 kB / 0.6464 GB, free: 0.7539 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 7.411e-05/0.1317, allocations: 117.8 kB / 0.6466 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1317, allocations: 4 kB / 0.6466 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.1319, allocations: 61.55 kB / 0.6466 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1319, allocations: 8.016 kB / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1319, allocations: 0 / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1319, allocations: 0 / 0.6466 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.1321, allocations: 157.6 kB / 0.6468 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1321, allocations: 0 / 0.6468 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1321, allocations: 12 kB / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1321, allocations: 0 / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1321, allocations: 0 / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1321, allocations: 0 / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1321, allocations: 0 / 0.6468 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.1325, allocations: 0.7044 MB / 0.6475 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.1326, allocations: 77.23 kB / 0.6475 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.1326, allocations: 8 kB / 0.6476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.1326, allocations: 0 / 0.6476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.1327, allocations: 15.86 kB / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1327, allocations: 0 / 0.6476 GB, free: 15.46 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.547e-05/0.1327, allocations: 75.28 kB / 0.6476 GB, free: 15.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1327, allocations: 4 kB / 0.6476 GB, free: 15.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003322/0.1331, allocations: 23.94 kB / 0.6477 GB, free: 15.36 MB / 458.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.0001618/0.1332, allocations: 119.2 kB / 0.6478 GB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.054e-05/0.1333, allocations: 27.92 kB / 0.6478 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1333, allocations: 0 / 0.6478 GB, free: 15.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.1334, allocations: 15.98 kB / 0.6478 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001959/0.1336, allocations: 4 kB / 0.6478 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.1339, allocations: 235.2 kB / 0.6481 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.1341, allocations: 0.6809 MB / 0.6487 GB, free: 14.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.1341, allocations: 8 kB / 0.6487 GB, free: 14.19 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.573e-05/0.1341, allocations: 7.438 kB / 0.6487 GB, free: 14.18 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1341, allocations: 0 / 0.6487 GB, free: 14.18 MB / 458.7 MB Notification: Performance of Templates: time 0.002267/0.1364, allocations: 0.4968 MB / 0.6492 GB, free: 13.69 MB / 458.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)