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.0009877/0.0009877, allocations: 100.2 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.0009411/0.0009412, 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.38/1.38, 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.4202/0.4202, allocations: 54.98 MB / 325.4 MB, free: 0.7383 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.0005198/0.00052, allocations: 16 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3366, allocations: 60.72 MB / 457.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001171/0.3379, allocations: 0.9537 MB / 458.3 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004946/0.3384, allocations: 291.8 kB / 458.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.3384, allocations: 0 / 458.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.3384, allocations: 1.531 kB / 458.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.264e-05/0.3385, allocations: 2.625 kB / 458.5 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3388, allocations: 62.44 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.545e-05/0.3388, allocations: 8.875 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.13e-05/0.3389, allocations: 0 / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.186e-05/0.3389, allocations: 12.23 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.339, allocations: 10.14 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.339, allocations: 2.812 kB / 458.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002951/0.3393, allocations: 200.5 kB / 458.8 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-06/0.3393, allocations: 8.062 kB / 458.8 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.3393, allocations: 27.27 kB / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3395, allocations: 54.67 kB / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.3395, allocations: 0 / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3395, allocations: 0 / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.3395, allocations: 0 / 458.9 MB, free: 38.23 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.0002714/0.3398, allocations: 325.6 kB / 459.2 MB, free: 37.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3398, allocations: 9.312 kB / 459.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3399, allocations: 0 / 459.3 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/0.34, allocations: 165.7 kB / 459.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.34, allocations: 1.812 kB / 459.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.34, allocations: 0 / 459.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.3408, allocations: 169 kB / 459.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3409, allocations: 3.797 kB / 459.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.3409, allocations: 2.844 kB / 459.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3409, allocations: 0.625 kB / 459.6 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.3416, allocations: 144.1 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001389/0.3418, allocations: 151.1 kB / 459.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.3425, allocations: 158.4 kB / 460 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.3428, allocations: 115.9 kB / 460.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.5e-05/0.3428, allocations: 37.28 kB / 460.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3428, allocations: 2.938 kB / 460.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.001438/0.3443, allocations: 298.2 kB / 460.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3443, allocations: 55.44 kB / 460.5 MB, free: 37.19 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.001e-05/0.3444, allocations: 98.08 kB / 460.6 MB, free: 37.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3444, allocations: 25.7 kB / 460.7 MB, free: 37.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.544e-05/0.3444, allocations: 80.14 kB / 460.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3444, allocations: 8.547 kB / 460.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-06/0.3445, allocations: 0 / 460.7 MB, free: 36.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.3445, allocations: 326.9 kB / 461.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3447, allocations: 35.75 kB / 461.1 MB, free: 36.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.3448, allocations: 37.23 kB / 461.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.345, allocations: 41.36 kB / 461.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.345, allocations: 0 / 461.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003175/0.3453, allocations: 107.5 kB / 461.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3454, allocations: 3.781 kB / 461.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3454, allocations: 3.156 kB / 461.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3454, allocations: 0 / 461.3 MB, free: 36.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.3478, allocations: 446.8 kB / 461.7 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003416/0.3512, allocations: 1.883 MB / 463.6 MB, free: 35.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.792e-05/0.3513, allocations: 27.61 kB / 463.6 MB, free: 35.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3513, allocations: 0 / 463.6 MB, free: 35.18 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.926e-05/0.3514, allocations: 119.2 kB / 463.7 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.208e-06/0.3514, allocations: 0 / 463.7 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.284e-05/0.3514, allocations: 6.547 kB / 463.7 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3514, allocations: 2.844 kB / 463.8 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.3514, allocations: 0 / 463.8 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3514, allocations: 0 / 463.8 MB, free: 35.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.518e-05/0.3515, allocations: 156.8 kB / 463.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3515, allocations: 0 / 463.9 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/0.3539, allocations: 458.7 kB / 464.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.3539, allocations: 2.812 kB / 464.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.3539, allocations: 0 / 464.4 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003338/0.3573, allocations: 1.883 MB / 466.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3573, allocations: 0 / 466.2 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.3576, allocations: 132.8 kB / 466.4 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.774e-05/0.3576, allocations: 81.7 kB / 466.4 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.3577, allocations: 4.469 kB / 466.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.3578, allocations: 12.25 kB / 466.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3578, allocations: 10.05 kB / 466.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3578, allocations: 0 / 466.5 MB, free: 33.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.759e-05/0.3578, allocations: 78.28 kB / 466.6 MB, free: 33.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 4.094 kB / 466.6 MB, free: 33.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002049/0.358, allocations: 8.562 kB / 466.6 MB, free: 33.21 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 8.709e-05/0.3581, allocations: 107.6 kB / 466.7 MB, free: 33.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002618/0.3608, allocations: 0.5166 MB / 467.2 MB, free: 33.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3608, allocations: 0 / 467.2 MB, free: 33.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.3645, allocations: 0.7082 MB / 467.9 MB, free: 33.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.547e-05/0.3646, allocations: 6.141 kB / 467.9 MB, free: 33.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.3677, allocations: 0.7651 MB / 468.7 MB, free: 32.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3678, allocations: 0.6783 MB / 469.3 MB, free: 32.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.3678, allocations: 4 kB / 469.3 MB, free: 32.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.3679, allocations: 7.438 kB / 469.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3679, allocations: 0 / 469.4 MB, free: 32.17 MB / 382.1 MB Notification: Performance of Templates: time 0.001991/0.3699, allocations: 0.4904 MB / 469.8 MB, free: 32.15 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: