Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009631/0.0009631, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.0009726/0.0009727, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.384/0.384, allocations: 54.98 MB / 325.4 MB, free: 0.7188 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005316/0.0005317, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3109, allocations: 60.72 MB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001213/0.3122, allocations: 0.9795 MB / 458.3 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006604/0.3128, allocations: 460 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.3129, allocations: 0 / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.3129, allocations: 1.438 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.3129, allocations: 8.375 kB / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3133, allocations: 97.39 kB / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.3133, allocations: 18.02 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.3134, allocations: 0 / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.226e-05/0.3134, allocations: 8.984 kB / 458.9 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.3135, allocations: 14.81 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3135, allocations: 2.844 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.314, allocations: 352.9 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-06/0.314, allocations: 7.125 kB / 459.2 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.314, allocations: 28.39 kB / 459.3 MB, free: 38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3142, allocations: 91.05 kB / 459.4 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.3142, allocations: 4.75 kB / 459.4 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3142, allocations: 0 / 459.4 MB, free: 38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3142, allocations: 1.562 kB / 459.4 MB, free: 38 MB / 382.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.0003402/0.3146, allocations: 346.9 kB / 459.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3146, allocations: 8.188 kB / 459.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.3146, allocations: 6 kB / 459.7 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.3147, allocations: 173.1 kB / 459.9 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3147, allocations: 0 / 459.9 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.3148, allocations: 4.938 kB / 459.9 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.3159, allocations: 230.8 kB / 460.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.316, allocations: 0 / 460.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.316, allocations: 3.188 kB / 460.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.316, allocations: 0 / 460.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.317, allocations: 214.7 kB / 460.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.3173, allocations: 251.3 kB / 460.6 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3185, allocations: 246 kB / 460.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/0.3191, allocations: 231.9 kB / 461 MB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.77e-05/0.3191, allocations: 31.5 kB / 461.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.3191, allocations: 0 / 461.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.002087/0.3212, allocations: 439 kB / 461.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.3212, allocations: 58.31 kB / 461.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.741e-05/0.3213, allocations: 108.3 kB / 461.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3213, allocations: 25.7 kB / 461.7 MB, free: 36.6 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.3214, allocations: 80.14 kB / 461.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.3214, allocations: 14.53 kB / 461.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-06/0.3214, allocations: 0 / 461.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.362e-05/0.3215, allocations: 317.3 kB / 462.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.3217, allocations: 61.91 kB / 462.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.3219, allocations: 69.77 kB / 462.2 MB, free: 36.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.3222, allocations: 66.11 kB / 462.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3222, allocations: 3.938 kB / 462.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004751/0.3227, allocations: 156.9 kB / 462.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3227, allocations: 2.812 kB / 462.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3227, allocations: 2.906 kB / 462.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3227, allocations: 0 / 462.4 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3229, allocations: 41.09 kB / 462.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3229, allocations: 0 / 462.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.3231, allocations: 35.91 kB / 462.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3231, allocations: 4.328 kB / 462.5 MB, free: 36.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.583e-05/0.3232, allocations: 109.8 kB / 462.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3232, allocations: 4.297 kB / 462.6 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.663e-05/0.3233, allocations: 7.875 kB / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3233, allocations: 0 / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.3233, allocations: 3.953 kB / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3233, allocations: 3.375 kB / 462.7 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.3234, allocations: 156.3 kB / 462.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.3234, allocations: 4.938 kB / 462.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.3236, allocations: 42.31 kB / 462.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3236, allocations: 0 / 462.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.3236, allocations: 0 / 462.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3237, allocations: 0 / 462.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3237, allocations: 0 / 462.9 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.3242, allocations: 254.2 kB / 463.1 MB, free: 35.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.3242, allocations: 83.36 kB / 463.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3242, allocations: 0.6875 kB / 463.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3244, allocations: 23.39 kB / 463.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.684e-05/0.3244, allocations: 10.08 kB / 463.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3245, allocations: 0 / 463.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.752e-05/0.3245, allocations: 83.86 kB / 463.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3245, allocations: 0 / 463.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.3247, allocations: 12.83 kB / 463.3 MB, free: 35.46 MB / 382.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 (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.0001085/0.3248, allocations: 101.5 kB / 463.4 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005171/0.3254, allocations: 126.2 kB / 463.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3254, allocations: 8 kB / 463.5 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3256, allocations: 65.83 kB / 463.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.3258, allocations: 4.969 kB / 463.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.3264, allocations: 219 kB / 463.8 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3265, allocations: 0.681 MB / 464.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.697e-05/0.3266, allocations: 6.812 kB / 464.5 MB, free: 34.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.3267, allocations: 10.28 kB / 464.5 MB, free: 34.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3267, allocations: 4 kB / 464.5 MB, free: 34.52 MB / 382.1 MB Notification: Performance of Templates: time 0.002269/0.3289, allocations: 0.4907 MB / 465 MB, free: 34.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) Environment - environmentSimulation: