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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 106.2 kB / 16.27 MB, free: 6.414 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.001522/0.001522, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8173/0.8173, allocations: 135.2 MB / 426.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 68.08 kB / 0.506 GB, free: 8.289 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3557, allocations: 80.92 MB / 0.5851 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00209/0.3578, allocations: 1.277 MB / 0.5863 GB, free: 24.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.3587, allocations: 0.594 MB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.088e-05/0.3587, allocations: 0 / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.3587, allocations: 4.688 kB / 0.5869 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.3588, allocations: 5.562 kB / 0.5869 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.3593, allocations: 144.4 kB / 0.587 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.274e-05/0.3593, allocations: 31.83 kB / 0.5871 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.128e-05/0.3594, allocations: 1.469 kB / 0.5871 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.196e-05/0.3594, allocations: 4.094 kB / 0.5871 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.02e-05/0.3595, allocations: 11.8 kB / 0.5871 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3595, allocations: 1.75 kB / 0.5871 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.3599, allocations: 346.3 kB / 0.5874 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.36, allocations: 6.375 kB / 0.5874 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.36, allocations: 11.12 kB / 0.5874 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3602, allocations: 154.6 kB / 0.5876 GB, free: 23.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3602, allocations: 0.9062 kB / 0.5876 GB, free: 23.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3602, allocations: 1.344 kB / 0.5876 GB, free: 23.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3603, allocations: 1 kB / 0.5876 GB, free: 23.27 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003443/0.3606, allocations: 354.8 kB / 0.5879 GB, free: 22.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3606, allocations: 11.48 kB / 0.5879 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.3607, allocations: 2.625 kB / 0.5879 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.267e-05/0.3608, allocations: 171.3 kB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.3608, allocations: 1.75 kB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.3608, allocations: 1.719 kB / 0.5881 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.3609, allocations: 49.59 kB / 0.5881 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.3609, allocations: 1.469 kB / 0.5881 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.3609, allocations: 0 / 0.5881 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.361, allocations: 0 / 0.5881 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.849e-05/0.361, allocations: 17.59 kB / 0.5882 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002569/0.3613, allocations: 255.5 kB / 0.5884 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001886/0.3615, allocations: 49.7 kB / 0.5885 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.3615, allocations: 21.44 kB / 0.5885 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.3615, allocations: 2.188 kB / 0.5885 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.3616, allocations: 33.34 kB / 0.5885 GB, free: 22.25 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3616, allocations: 0 / 0.5885 GB, free: 22.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001605/0.3617, allocations: 62.75 kB / 0.5886 GB, free: 22.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.447e-05/0.3618, allocations: 54.53 kB / 0.5886 GB, free: 22.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.3618, allocations: 98.06 kB / 0.5887 GB, free: 22.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3618, allocations: 25.7 kB / 0.5887 GB, free: 22.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.3619, allocations: 85.17 kB / 0.5888 GB, free: 21.92 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-06/0.3619, allocations: 14.47 kB / 0.5888 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.3619, allocations: 21.86 kB / 0.5889 GB, free: 21.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.362, allocations: 316.9 kB / 0.5892 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.362, allocations: 8.125 kB / 0.5892 GB, free: 21.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/0.362, allocations: 16.62 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.3621, allocations: 38.45 kB / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3621, allocations: 0 / 0.5892 GB, free: 21.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.871e-05/0.3622, allocations: 62.12 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3622, allocations: 7.031 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3622, allocations: 0 / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3622, allocations: 1.281 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.3623, allocations: 6.938 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3623, allocations: 2.969 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.3623, allocations: 5.281 kB / 0.5893 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.3623, allocations: 5.109 kB / 0.5893 GB, free: 21.46 MB / 446.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 4.93e-05/0.3624, allocations: 121.7 kB / 0.5894 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3624, allocations: 5.5 kB / 0.5894 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001204/0.3625, allocations: 64.38 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.3625, allocations: 1.219 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3625, allocations: 3.188 kB / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3626, allocations: 0 / 0.5895 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.3627, allocations: 159 kB / 0.5896 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3627, allocations: 1.469 kB / 0.5896 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.3627, allocations: 8.859 kB / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3627, allocations: 1.25 kB / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3627, allocations: 0 / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3627, allocations: 1.344 kB / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3627, allocations: 2 kB / 0.5897 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.3628, allocations: 150.7 kB / 0.5898 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.75e-05/0.3629, allocations: 82.86 kB / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3629, allocations: 2.125 kB / 0.5899 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.3629, allocations: 8.625 kB / 0.5899 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3629, allocations: 5.141 kB / 0.5899 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.363, allocations: 2.875 kB / 0.5899 GB, free: 20.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.006e-05/0.363, allocations: 84.25 kB / 0.59 GB, free: 20.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.42e-07/0.363, allocations: 0 / 0.59 GB, free: 20.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3632, allocations: 21.06 kB / 0.59 GB, free: 20.73 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 (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.0001496/0.3634, allocations: 118 kB / 0.5901 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.3635, allocations: 27.89 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3635, allocations: 1.375 kB / 0.5901 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.841e-05/0.3635, allocations: 15.28 kB / 0.5902 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.3637, allocations: 10.3 kB / 0.5902 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.364, allocations: 138.4 kB / 0.5903 GB, free: 20.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.009e-05/0.3641, allocations: 0.6738 MB / 0.591 GB, free: 19.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.3641, allocations: 13.02 kB / 0.591 GB, free: 19.76 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3641, allocations: 1.031 kB / 0.591 GB, free: 19.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002042/0.3662, allocations: 0.6981 MB / 0.5916 GB, free: 19.41 MB / 446.1 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)