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.008794/0.008794, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8121/0.8121, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.317/1.317, allocations: 223.2 MB / 406.9 MB, free: 3.215 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008474/0.0008474, allocations: 99.42 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.000332, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3573, allocations: 82.29 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.4999, allocations: 113.1 MB / 0.7599 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.5002, allocations: 79.95 kB / 0.76 GB, free: 2.836 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01618/0.5164, allocations: 5.407 MB / 0.7652 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5165, allocations: 0 / 0.7652 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.5165, allocations: 0 / 0.7652 GB, free: 13.42 MB / 0.5417 GB 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.0004071/0.5169, allocations: 363.2 kB / 0.7656 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.517, allocations: 11.97 kB / 0.7656 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.517, allocations: 7.859 kB / 0.7656 GB, free: 13 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5171, allocations: 167.1 kB / 0.7658 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.5172, allocations: 3.938 kB / 0.7658 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.5172, allocations: 8 kB / 0.7658 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.5173, allocations: 37.7 kB / 0.7658 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.5173, allocations: 0 / 0.7658 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.5173, allocations: 0 / 0.7658 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.5173, allocations: 7.984 kB / 0.7658 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.762e-05/0.5174, allocations: 12 kB / 0.7658 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.5177, allocations: 252.9 kB / 0.7661 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.518, allocations: 54.56 kB / 0.7661 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.5181, allocations: 0 / 0.7661 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.5181, allocations: 30.66 kB / 0.7661 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.5181, allocations: 0 / 0.7661 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.000187/0.5183, allocations: 61.67 kB / 0.7662 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.5183, allocations: 55.36 kB / 0.7663 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.049e-05/0.5184, allocations: 101.1 kB / 0.7664 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.5184, allocations: 29.7 kB / 0.7664 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.5185, allocations: 88.05 kB / 0.7665 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.198e-05/0.5185, allocations: 7.812 kB / 0.7665 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.5185, allocations: 4 kB / 0.7665 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5186, allocations: 318.8 kB / 0.7668 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.5187, allocations: 4 kB / 0.7668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.5187, allocations: 17.72 kB / 0.7668 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.722e-05/0.5187, allocations: 15.98 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5187, allocations: 0 / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.346e-05/0.5188, allocations: 57.62 kB / 0.7669 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5189, allocations: 4 kB / 0.7669 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5189, allocations: 4 kB / 0.7669 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5189, allocations: 0 / 0.7669 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.5189, allocations: 8 kB / 0.7669 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.519, allocations: 0 / 0.7669 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.519, allocations: 3.953 kB / 0.7669 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.519, allocations: 7.938 kB / 0.7669 GB, free: 11.5 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.529e-05/0.5191, allocations: 113.9 kB / 0.767 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.5191, allocations: 3.984 kB / 0.767 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.5193, allocations: 65.03 kB / 0.7671 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5193, allocations: 0 / 0.7671 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5193, allocations: 0 / 0.7671 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5193, allocations: 4 kB / 0.7671 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.5194, allocations: 161.6 kB / 0.7672 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5195, allocations: 3.938 kB / 0.7672 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.708e-05/0.5195, allocations: 8 kB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5195, allocations: 4 kB / 0.7672 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5195, allocations: 3.984 kB / 0.7673 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5195, allocations: 4.125 kB / 0.7673 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.5195, allocations: 0 / 0.7673 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.5197, allocations: 151.4 kB / 0.7674 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.5197, allocations: 77.11 kB / 0.7675 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5197, allocations: 4 kB / 0.7675 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.5198, allocations: 4 kB / 0.7675 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.5198, allocations: 4 kB / 0.7675 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5198, allocations: 0 / 0.7675 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.5199, allocations: 83.27 kB / 0.7676 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5199, allocations: 0 / 0.7676 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002423/0.5201, allocations: 24 kB / 0.7676 GB, free: 10.69 MB / 0.5417 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.5203, allocations: 123.2 kB / 0.7677 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.065e-05/0.5204, allocations: 23.92 kB / 0.7677 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5204, allocations: 4.062 kB / 0.7677 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.66e-05/0.5204, allocations: 8.562 kB / 0.7677 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.5206, allocations: 18.64 kB / 0.7678 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002779/0.5209, allocations: 133.1 kB / 0.7679 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.5211, allocations: 0.677 MB / 0.7685 GB, free: 9.645 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.5212, allocations: 8 kB / 0.7686 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.5212, allocations: 7.438 kB / 0.7686 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.5212, allocations: 0 / 0.7686 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of Templates: time 0.002419/0.5236, allocations: 489.4 kB / 0.769 GB, free: 9.152 MB / 0.5417 GB 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)