Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006767/0.006767, allocations: 169.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3915/0.3915, allocations: 55 MB / 325.7 MB, free: 0.5391 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.0005106/0.0005108, allocations: 12 kB / 397.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3841, allocations: 60.72 MB / 458 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001407/0.3855, allocations: 0.9682 MB / 458.9 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.3865, allocations: 0.5087 MB / 459.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.3865, allocations: 1.219 kB / 459.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3865, allocations: 0 / 459.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.249e-05/0.3866, allocations: 9.469 kB / 459.5 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.387, allocations: 92.55 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.3871, allocations: 10.98 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.3871, allocations: 4.297 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.3872, allocations: 6.859 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.3872, allocations: 5.422 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.3872, allocations: 1.031 kB / 459.6 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.3877, allocations: 343.2 kB / 459.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.3878, allocations: 6.984 kB / 459.9 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/0.3878, allocations: 36.95 kB / 460 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3881, allocations: 129.8 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3881, allocations: 0.8438 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.3881, allocations: 0.625 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.3881, allocations: 0 / 460.1 MB, free: 38.22 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.0004137/0.3885, allocations: 341.8 kB / 460.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3886, allocations: 9.969 kB / 460.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3886, allocations: 0.9375 kB / 460.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.3888, allocations: 169.2 kB / 460.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.3888, allocations: 1.219 kB / 460.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3888, allocations: 5.031 kB / 460.6 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.3893, allocations: 95.28 kB / 460.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3893, allocations: 192 / 460.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3894, allocations: 3.938 kB / 460.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3894, allocations: 0.8438 kB / 460.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.3898, allocations: 68.86 kB / 460.8 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.3899, allocations: 155.3 kB / 460.9 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.3903, allocations: 84.09 kB / 461 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.3904, allocations: 17.55 kB / 461 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.3908, allocations: 112.9 kB / 461.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3908, allocations: 31.91 kB / 461.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3908, allocations: 3.938 kB / 461.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008005/0.3916, allocations: 168.2 kB / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.3916, allocations: 51.41 kB / 461.4 MB, free: 37.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.3917, allocations: 99.64 kB / 461.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.3917, allocations: 29.86 kB / 461.5 MB, free: 37.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.3917, allocations: 80.14 kB / 461.6 MB, free: 36.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.3918, allocations: 10.25 kB / 461.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.3918, allocations: 9.719 kB / 461.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.117e-05/0.3919, allocations: 314.8 kB / 461.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.392, allocations: 20.45 kB / 461.9 MB, free: 36.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.3921, allocations: 22.53 kB / 462 MB, free: 36.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.3922, allocations: 51.08 kB / 462 MB, free: 36.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3922, allocations: 0 / 462 MB, free: 36.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002084/0.3925, allocations: 73.69 kB / 462.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.3925, allocations: 5.094 kB / 462.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3925, allocations: 3.938 kB / 462.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3925, allocations: 0 / 462.1 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.3939, allocations: 254.7 kB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.3963, allocations: 1.602 MB / 463.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.236e-05/0.3963, allocations: 13.66 kB / 463.9 MB, free: 35.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-06/0.3964, allocations: 0 / 463.9 MB, free: 35.15 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.61e-05/0.3964, allocations: 119.7 kB / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.3964, allocations: 0 / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.229e-05/0.3965, allocations: 3.828 kB / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3965, allocations: 0 / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.3965, allocations: 2.719 kB / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3965, allocations: 0 / 464.1 MB, free: 35.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.3966, allocations: 155.2 kB / 464.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3966, allocations: 5.188 kB / 464.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.398, allocations: 258.6 kB / 464.5 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.398, allocations: 0 / 464.5 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3981, allocations: 0 / 464.5 MB, free: 34.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.4002, allocations: 1.592 MB / 466.1 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4002, allocations: 1.562 kB / 466.1 MB, free: 33.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.4004, allocations: 106.2 kB / 466.2 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.834e-05/0.4004, allocations: 77.11 kB / 466.3 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.4004, allocations: 7.156 kB / 466.3 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.4005, allocations: 5.812 kB / 466.3 MB, free: 33.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.4005, allocations: 7.359 kB / 466.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4006, allocations: 3.5 kB / 466.3 MB, free: 33.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.108e-05/0.4006, allocations: 78.09 kB / 466.4 MB, free: 33.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4006, allocations: 0 / 466.4 MB, free: 33.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.4008, allocations: 12.38 kB / 466.4 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001006/0.4009, allocations: 95.81 kB / 466.5 MB, free: 33.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.4026, allocations: 307.1 kB / 466.8 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4026, allocations: 0 / 466.8 MB, free: 33.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002572/0.4052, allocations: 465.5 kB / 467.2 MB, free: 33.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.4053, allocations: 3.797 kB / 467.2 MB, free: 33.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.4075, allocations: 0.4887 MB / 467.7 MB, free: 32.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.4076, allocations: 0.6748 MB / 468.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.925e-05/0.4077, allocations: 0 / 468.4 MB, free: 32.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.4077, allocations: 14.03 kB / 468.4 MB, free: 32.22 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4077, allocations: 0 / 468.4 MB, free: 32.22 MB / 382.1 MB Notification: Performance of Templates: time 0.002298/0.41, allocations: 463.3 kB / 468.8 MB, free: 32.2 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: