Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001485/0.001485, allocations: 189.9 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 135.2 MB / 426.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 64.08 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3419, allocations: 80.92 MB / 0.5851 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002069/0.344, allocations: 1.25 MB / 0.5863 GB, free: 24.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008034/0.3448, allocations: 0.5855 MB / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.3449, allocations: 0 / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.3449, allocations: 0 / 0.5869 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.345, allocations: 3.938 kB / 0.5869 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.3454, allocations: 145 kB / 0.587 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.3455, allocations: 9.641 kB / 0.587 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.3455, allocations: 6.312 kB / 0.587 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.3456, allocations: 6.453 kB / 0.587 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.3456, allocations: 6.688 kB / 0.587 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.3456, allocations: 0.7188 kB / 0.587 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.3461, allocations: 338 kB / 0.5874 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.3461, allocations: 8.516 kB / 0.5874 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.3461, allocations: 12.2 kB / 0.5874 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3464, allocations: 140.9 kB / 0.5875 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3464, allocations: 0 / 0.5875 GB, free: 23.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3464, allocations: 0 / 0.5875 GB, free: 23.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.3464, allocations: 1.188 kB / 0.5875 GB, free: 23.61 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003163/0.3467, allocations: 348.8 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3468, allocations: 10.3 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3468, allocations: 2.562 kB / 0.5879 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.578e-05/0.3469, allocations: 162.2 kB / 0.588 GB, free: 23.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.3469, allocations: 5.812 kB / 0.588 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.3469, allocations: 384 / 0.588 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.401e-05/0.347, allocations: 42.75 kB / 0.5881 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.347, allocations: 0 / 0.5881 GB, free: 22.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.347, allocations: 5.281 kB / 0.5881 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.347, allocations: 0 / 0.5881 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.3471, allocations: 3.25 kB / 0.5881 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001123/0.3472, allocations: 154 kB / 0.5882 GB, free: 22.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.161e-05/0.3472, allocations: 19.45 kB / 0.5882 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.3472, allocations: 12.33 kB / 0.5882 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.3473, allocations: 6.375 kB / 0.5882 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/0.3473, allocations: 35.69 kB / 0.5883 GB, free: 22.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.3473, allocations: 1.531 kB / 0.5883 GB, free: 22.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.3474, allocations: 44.09 kB / 0.5883 GB, free: 22.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.3475, allocations: 52.75 kB / 0.5884 GB, free: 22.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.673e-05/0.3475, allocations: 92.48 kB / 0.5885 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-06/0.3475, allocations: 25.7 kB / 0.5885 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.324e-05/0.3475, allocations: 81.23 kB / 0.5886 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.3476, allocations: 9.219 kB / 0.5886 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3476, allocations: 18.12 kB / 0.5886 GB, free: 22.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.3476, allocations: 315.9 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.3477, allocations: 2.406 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-06/0.3477, allocations: 5.406 kB / 0.5889 GB, free: 22.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.3477, allocations: 15.42 kB / 0.5889 GB, free: 22.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3477, allocations: 2.375 kB / 0.5889 GB, free: 22.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.914e-05/0.3478, allocations: 37.7 kB / 0.5889 GB, free: 22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3478, allocations: 9.328 kB / 0.589 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.3478, allocations: 0 / 0.589 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3478, allocations: 1.344 kB / 0.589 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.348, allocations: 17.31 kB / 0.589 GB, free: 21.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000219/0.3482, allocations: 0.5832 MB / 0.5895 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.3482, allocations: 0 / 0.5895 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.3482, allocations: 6.672 kB / 0.5896 GB, free: 21.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.3483, allocations: 111.2 kB / 0.5897 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.3483, allocations: 9.156 kB / 0.5897 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.759e-05/0.3484, allocations: 46.47 kB / 0.5897 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3484, allocations: 1.469 kB / 0.5897 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3484, allocations: 1.719 kB / 0.5897 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3484, allocations: 3.938 kB / 0.5897 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.31e-05/0.3485, allocations: 152.6 kB / 0.5899 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3485, allocations: 0 / 0.5899 GB, free: 21.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.3485, allocations: 11.77 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3486, allocations: 4.562 kB / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.3486, allocations: 0 / 0.5899 GB, free: 21.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001654/0.3487, allocations: 0.5831 MB / 0.5904 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3487, allocations: 0 / 0.5904 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.259e-05/0.3488, allocations: 72.06 kB / 0.5905 GB, free: 20.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3488, allocations: 78.52 kB / 0.5906 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.3488, allocations: 0.625 kB / 0.5906 GB, free: 20.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.553e-05/0.3489, allocations: 4.594 kB / 0.5906 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3489, allocations: 5.078 kB / 0.5906 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-06/0.3489, allocations: 1.812 kB / 0.5906 GB, free: 20.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.882e-05/0.3489, allocations: 82.78 kB / 0.5907 GB, free: 20.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3489, allocations: 0 / 0.5907 GB, free: 20.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001955/0.3491, allocations: 10.78 kB / 0.5907 GB, free: 20.17 MB / 446.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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001382/0.3493, allocations: 116.3 kB / 0.5908 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.3494, allocations: 18.08 kB / 0.5908 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3494, allocations: 1.469 kB / 0.5908 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.034e-05/0.3495, allocations: 22.17 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.3497, allocations: 1.625 kB / 0.5908 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00033/0.35, allocations: 138.9 kB / 0.591 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.425e-05/0.3501, allocations: 0.6755 MB / 0.5916 GB, free: 19.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.327e-05/0.3501, allocations: 8.812 kB / 0.5916 GB, free: 19.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3501, allocations: 0 / 0.5916 GB, free: 19.2 MB / 446.1 MB Notification: Performance of Templates: time 0.00217/0.3523, allocations: 0.703 MB / 0.5923 GB, free: 18.81 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)