Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001192/0.001192, allocations: 182.1 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/package.mo): time 0.6924/0.6924, allocations: 132.2 MB / 148.9 MB, free: 12.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.48/1.48, allocations: 222.9 MB / 403.4 MB, free: 7.109 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.001149/0.001149, allocations: 97.36 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 63.91 kB / 0.5619 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1337, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002789/0.1365, allocations: 1.334 MB / 0.6415 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1376, allocations: 0.6199 MB / 0.6421 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.1376, allocations: 0 / 0.6421 GB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.1377, allocations: 7.984 kB / 0.6421 GB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.69e-05/0.1377, allocations: 7.922 kB / 0.6421 GB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005472/0.1383, allocations: 115.6 kB / 0.6422 GB, free: 4.684 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.1384, allocations: 23.92 kB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1384, allocations: 0 / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.952e-05/0.1384, allocations: 4 kB / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.1385, allocations: 19.91 kB / 0.6423 GB, free: 4.637 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1385, allocations: 4 kB / 0.6423 GB, free: 4.633 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.139, allocations: 347.3 kB / 0.6426 GB, free: 4.293 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.1391, allocations: 0 / 0.6426 GB, free: 4.293 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.1391, allocations: 11.92 kB / 0.6426 GB, free: 4.281 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.1394, allocations: 143.9 kB / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1394, allocations: 0 / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1394, allocations: 0 / 0.6427 GB, free: 4.141 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1394, allocations: 0 / 0.6427 GB, free: 4.141 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.0004398/0.1399, allocations: 363.4 kB / 0.6431 GB, free: 3.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.1399, allocations: 12.03 kB / 0.6431 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.14, allocations: 0.9375 kB / 0.6431 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1401, allocations: 164.4 kB / 0.6433 GB, free: 3.527 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1401, allocations: 8.375 kB / 0.6433 GB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1401, allocations: 384 / 0.6433 GB, free: 3.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.933e-05/0.1402, allocations: 49.75 kB / 0.6433 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1402, allocations: 0 / 0.6433 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.1402, allocations: 0 / 0.6433 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1403, allocations: 0 / 0.6433 GB, free: 3.465 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.616e-05/0.1403, allocations: 15.98 kB / 0.6433 GB, free: 3.449 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.1406, allocations: 256.8 kB / 0.6436 GB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1408, allocations: 46.69 kB / 0.6436 GB, free: 3.094 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.1408, allocations: 20.8 kB / 0.6436 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.1409, allocations: 0 / 0.6436 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.1409, allocations: 34.56 kB / 0.6437 GB, free: 3.027 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 2.976e-06/0.1409, allocations: 0 / 0.6437 GB, free: 3.027 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001466/0.141, allocations: 61.62 kB / 0.6437 GB, free: 2.961 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.1411, allocations: 55.39 kB / 0.6438 GB, free: 2.895 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.571e-05/0.1412, allocations: 98.05 kB / 0.6439 GB, free: 2.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.1412, allocations: 29.7 kB / 0.6439 GB, free: 2.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.1412, allocations: 80.14 kB / 0.644 GB, free: 2.672 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1412, allocations: 15.73 kB / 0.644 GB, free: 2.656 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.1413, allocations: 21.7 kB / 0.644 GB, free: 2.629 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1414, allocations: 318.8 kB / 0.6443 GB, free: 2.309 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.1414, allocations: 15.94 kB / 0.6443 GB, free: 2.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.1414, allocations: 21.7 kB / 0.6444 GB, free: 2.266 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.1415, allocations: 29.89 kB / 0.6444 GB, free: 2.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1415, allocations: 0 / 0.6444 GB, free: 2.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.236e-05/0.1416, allocations: 61.62 kB / 0.6444 GB, free: 2.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1416, allocations: 4 kB / 0.6444 GB, free: 2.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1416, allocations: 3.984 kB / 0.6445 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1416, allocations: 4.031 kB / 0.6445 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.868e-05/0.1417, allocations: 11.98 kB / 0.6445 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1417, allocations: 0 / 0.6445 GB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.563e-05/0.1417, allocations: 11.84 kB / 0.6445 GB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.1418, allocations: 128 / 0.6445 GB, free: 2.129 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.179e-05/0.1418, allocations: 115.1 kB / 0.6446 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.1419, allocations: 8 kB / 0.6446 GB, free: 2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.142, allocations: 65.12 kB / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.142, allocations: 0 / 0.6447 GB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.142, allocations: 3.984 kB / 0.6447 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.142, allocations: 0 / 0.6447 GB, free: 1.922 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1422, allocations: 157.6 kB / 0.6448 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1422, allocations: 0 / 0.6448 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1422, allocations: 8 kB / 0.6448 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1422, allocations: 0 / 0.6448 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1423, allocations: 0 / 0.6448 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1423, allocations: 0 / 0.6448 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1423, allocations: 0 / 0.6448 GB, free: 1.711 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.1426, allocations: 0.7083 MB / 0.6455 GB, free: 0.9453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.1427, allocations: 77.11 kB / 0.6456 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1427, allocations: 0 / 0.6456 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.59e-05/0.1428, allocations: 3.938 kB / 0.6456 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.169e-05/0.1428, allocations: 11.92 kB / 0.6456 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1428, allocations: 3.938 kB / 0.6456 GB, free: 0.832 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.878e-05/0.1428, allocations: 83.28 kB / 0.6457 GB, free: 0.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1428, allocations: 0 / 0.6457 GB, free: 0.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003311/0.1432, allocations: 23.94 kB / 0.6457 GB, free: 0.7266 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.0001648/0.1434, allocations: 112.6 kB / 0.6458 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.395e-05/0.1434, allocations: 23.98 kB / 0.6458 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.1434, allocations: 0 / 0.6458 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/0.1435, allocations: 20.3 kB / 0.6459 GB, free: 0.5664 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1437, allocations: 5.781 kB / 0.6459 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.144, allocations: 235.2 kB / 0.6461 GB, free: 296 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1442, allocations: 0.677 MB / 0.6467 GB, free: 15.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.054e-05/0.1442, allocations: 4 kB / 0.6468 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.1443, allocations: 11.44 kB / 0.6468 GB, free: 15.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.8e-07/0.1443, allocations: 0 / 0.6468 GB, free: 15.57 MB / 458.7 MB Notification: Performance of Templates: time 0.002028/0.1463, allocations: 0.5081 MB / 0.6473 GB, free: 15.06 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)