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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 106.2 kB / 16.35 MB, free: 5.824 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.001171/0.001172, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.2 MB / 423.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 80.18 MB / 0.5815 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002056/0.3498, allocations: 1.277 MB / 0.5827 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007803/0.3506, allocations: 0.5971 MB / 0.5833 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.3506, allocations: 0 / 0.5833 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.3506, allocations: 8.5 kB / 0.5833 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.3507, allocations: 9.078 kB / 0.5833 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.3512, allocations: 142.3 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.3512, allocations: 20.55 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.3513, allocations: 15.36 kB / 0.5835 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.3513, allocations: 3.906 kB / 0.5835 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.3513, allocations: 8.312 kB / 0.5835 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3514, allocations: 1.406 kB / 0.5835 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.3518, allocations: 346.1 kB / 0.5839 GB, free: 25.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3518, allocations: 9.484 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.3519, allocations: 7.156 kB / 0.5839 GB, free: 25.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3521, allocations: 143.8 kB / 0.584 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3521, allocations: 0 / 0.584 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3521, allocations: 0.5 kB / 0.584 GB, free: 25.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.3521, allocations: 2.156 kB / 0.584 GB, free: 25.62 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.0003462/0.3525, allocations: 360 kB / 0.5844 GB, free: 25.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3525, allocations: 9.188 kB / 0.5844 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3526, allocations: 2.188 kB / 0.5844 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/0.3527, allocations: 171.1 kB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.3527, allocations: 1.75 kB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.3527, allocations: 1.562 kB / 0.5845 GB, free: 25.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.3528, allocations: 50.22 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3528, allocations: 0 / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3528, allocations: 5.844 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3528, allocations: 1.188 kB / 0.5846 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.3529, allocations: 16.86 kB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002483/0.3531, allocations: 257.2 kB / 0.5848 GB, free: 24.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001701/0.3533, allocations: 43.5 kB / 0.5849 GB, free: 24.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.3533, allocations: 25.59 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3534, allocations: 5.078 kB / 0.5849 GB, free: 24.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.137e-05/0.3534, allocations: 31.97 kB / 0.5849 GB, free: 24.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3534, allocations: 1.906 kB / 0.5849 GB, free: 24.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001544/0.3535, allocations: 59.62 kB / 0.585 GB, free: 24.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.3536, allocations: 52.91 kB / 0.5851 GB, free: 24.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.603e-05/0.3536, allocations: 97.58 kB / 0.5851 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-06/0.3536, allocations: 26.2 kB / 0.5852 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.3537, allocations: 90.5 kB / 0.5853 GB, free: 24.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.375e-06/0.3537, allocations: 9.312 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.3537, allocations: 18.25 kB / 0.5853 GB, free: 24.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.3538, allocations: 316.6 kB / 0.5856 GB, free: 23.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/0.3538, allocations: 13.36 kB / 0.5856 GB, free: 23.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.3538, allocations: 17 kB / 0.5856 GB, free: 23.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.427e-05/0.3539, allocations: 32.66 kB / 0.5856 GB, free: 23.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3539, allocations: 4.594 kB / 0.5857 GB, free: 23.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.837e-05/0.354, allocations: 55.66 kB / 0.5857 GB, free: 23.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.354, allocations: 12.66 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.354, allocations: 5.422 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.354, allocations: 0 / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.571e-05/0.3541, allocations: 7.094 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3541, allocations: 1.312 kB / 0.5857 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.3541, allocations: 9.188 kB / 0.5857 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3541, allocations: 1.719 kB / 0.5857 GB, free: 23.81 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.415e-05/0.3542, allocations: 113 kB / 0.5858 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.3542, allocations: 2.094 kB / 0.5858 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.3543, allocations: 72.3 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3543, allocations: 0 / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3543, allocations: 0 / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3543, allocations: 0.7812 kB / 0.5859 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3544, allocations: 157.9 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3545, allocations: 0.5938 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.3545, allocations: 7.312 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3545, allocations: 2.125 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.3545, allocations: 0 / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3545, allocations: 128 / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3545, allocations: 4 kB / 0.5861 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.507e-05/0.3546, allocations: 153.3 kB / 0.5862 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.3546, allocations: 85.48 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.3547, allocations: 48 / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.3547, allocations: 4.516 kB / 0.5863 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.3547, allocations: 4.594 kB / 0.5863 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.3548, allocations: 7.5 kB / 0.5863 GB, free: 23.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.878e-05/0.3548, allocations: 79.78 kB / 0.5864 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3548, allocations: 5.844 kB / 0.5864 GB, free: 23.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.355, allocations: 19.08 kB / 0.5864 GB, free: 23.08 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.0001433/0.3552, allocations: 121.7 kB / 0.5865 GB, free: 22.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.3553, allocations: 23.77 kB / 0.5866 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3553, allocations: 0 / 0.5866 GB, free: 22.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.007e-05/0.3553, allocations: 16.44 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.3555, allocations: 8.375 kB / 0.5866 GB, free: 22.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.3558, allocations: 122.7 kB / 0.5867 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.079e-05/0.3559, allocations: 0.6782 MB / 0.5874 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.764e-05/0.3559, allocations: 7.547 kB / 0.5874 GB, free: 22.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.602e-05/0.356, allocations: 11.88 kB / 0.5874 GB, free: 22.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.356, allocations: 0 / 0.5874 GB, free: 22.13 MB / 446.1 MB Notification: Performance of Templates: time 0.002272/0.3582, allocations: 0.5027 MB / 0.5879 GB, free: 21.89 MB / 446.1 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)