Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.000927/0.0009271, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009417/0.0009419, allocations: 172.7 kB / 15.95 MB, free: 208 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.664/1.664, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4221/0.4221, allocations: 55.02 MB / 325.4 MB, free: 0.6641 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.0005797/0.00058, allocations: 16 kB / 396.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3679, allocations: 60.72 MB / 457.4 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001119/0.369, allocations: 0.9623 MB / 458.3 MB, free: 39.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.3698, allocations: 471.4 kB / 458.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.144e-05/0.3698, allocations: 0 / 458.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.3698, allocations: 3.156 kB / 458.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.3699, allocations: 6.016 kB / 458.8 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.3703, allocations: 89.39 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.132e-05/0.3704, allocations: 11.75 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.3704, allocations: 5.578 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.995e-05/0.3704, allocations: 5.906 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.3705, allocations: 3.938 kB / 458.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.3705, allocations: 4.188 kB / 458.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.371, allocations: 340 kB / 459.3 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.371, allocations: 0.9688 kB / 459.3 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.371, allocations: 28.61 kB / 459.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.3712, allocations: 91.34 kB / 459.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3712, allocations: 0.6875 kB / 459.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3712, allocations: 0 / 459.4 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.3712, allocations: 1.562 kB / 459.4 MB, free: 38.96 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003096/0.3715, allocations: 342 kB / 459.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3715, allocations: 8.719 kB / 459.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3716, allocations: 4.5 kB / 459.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.3717, allocations: 163.1 kB / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3717, allocations: 0.8125 kB / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3717, allocations: 2.844 kB / 459.9 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.3725, allocations: 169.8 kB / 460.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3725, allocations: 0 / 460.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3725, allocations: 0.5 kB / 460.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3726, allocations: 0.8125 kB / 460.1 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/0.3732, allocations: 139.3 kB / 460.2 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.3733, allocations: 153.2 kB / 460.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006155/0.3739, allocations: 161.5 kB / 460.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.3739, allocations: 11.58 kB / 460.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.3742, allocations: 115.8 kB / 460.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.3743, allocations: 37.83 kB / 460.7 MB, free: 38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.3743, allocations: 0 / 460.7 MB, free: 38 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.001249/0.3755, allocations: 303.2 kB / 461 MB, free: 37.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.3756, allocations: 51.41 kB / 461 MB, free: 37.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.277e-05/0.3756, allocations: 101.6 kB / 461.1 MB, free: 37.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.3756, allocations: 29.64 kB / 461.1 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.78e-05/0.3757, allocations: 82.8 kB / 461.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.3757, allocations: 14.67 kB / 461.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-06/0.3757, allocations: 0 / 461.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.897e-05/0.3758, allocations: 310.8 kB / 461.5 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.3759, allocations: 37.23 kB / 461.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.376, allocations: 38.45 kB / 461.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3762, allocations: 34.88 kB / 461.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3762, allocations: 2.844 kB / 461.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002776/0.3765, allocations: 104.5 kB / 461.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3765, allocations: 5.281 kB / 461.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3765, allocations: 0 / 461.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3765, allocations: 0 / 461.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.3786, allocations: 449.7 kB / 462.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003021/0.3817, allocations: 1.85 MB / 464 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-05/0.3818, allocations: 27.95 kB / 464.1 MB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3818, allocations: 0 / 464.1 MB, free: 35.88 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.3819, allocations: 112.8 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.546e-06/0.3819, allocations: 0 / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.31e-05/0.3819, allocations: 10.34 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3819, allocations: 1.5 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.3819, allocations: 0 / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3819, allocations: 2.844 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.307e-05/0.382, allocations: 155.7 kB / 464.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.382, allocations: 0 / 464.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/0.3841, allocations: 458.4 kB / 464.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3841, allocations: 0 / 464.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.3841, allocations: 0 / 464.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002797/0.3869, allocations: 1.85 MB / 466.6 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3869, allocations: 0 / 466.6 MB, free: 34.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3872, allocations: 142.5 kB / 466.8 MB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.3872, allocations: 77.11 kB / 466.9 MB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-06/0.3873, allocations: 0.9375 kB / 466.9 MB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.3874, allocations: 19.69 kB / 466.9 MB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.3874, allocations: 4.922 kB / 466.9 MB, free: 33.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.3874, allocations: 10.12 kB / 466.9 MB, free: 33.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.848e-05/0.3874, allocations: 78.84 kB / 467 MB, free: 33.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3874, allocations: 0 / 467 MB, free: 33.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.3876, allocations: 8.969 kB / 467 MB, free: 33.91 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.294e-05/0.3877, allocations: 101.1 kB / 467.1 MB, free: 33.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002301/0.39, allocations: 0.5267 MB / 467.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.39, allocations: 0 / 467.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003363/0.3934, allocations: 0.7022 MB / 468.3 MB, free: 33.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.3936, allocations: 4.578 kB / 468.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.3964, allocations: 0.7706 MB / 469.1 MB, free: 33.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.122e-05/0.3965, allocations: 0.6722 MB / 469.7 MB, free: 32.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.466e-05/0.3965, allocations: 0 / 469.7 MB, free: 32.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3965, allocations: 10.41 kB / 469.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3965, allocations: 0 / 469.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of Templates: time 0.002239/0.3988, allocations: 0.4974 MB / 470.3 MB, free: 32.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: