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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001433/0.001433, allocations: 192.9 kB / 16.13 MB, free: 6.699 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.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4288/0.4288, allocations: 54.93 MB / 324.3 MB, free: 84 kB / 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.001554/0.001554, allocations: 63.91 kB / 394.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1569, allocations: 59.59 MB / 454.3 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.2569/0.4138, allocations: 1.302 MB / 455.6 MB, free: 39.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.4149, allocations: 0.5194 MB / 456.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.415, allocations: 1.812 kB / 456.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.4151, allocations: 0 / 456.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.4151, allocations: 2.25 kB / 456.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.4155, allocations: 100.1 kB / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.248e-05/0.4156, allocations: 9.938 kB / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.4157, allocations: 4.844 kB / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.4157, allocations: 2.875 kB / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.335e-05/0.4158, allocations: 9.547 kB / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.4158, allocations: 0 / 456.2 MB, free: 38.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005335/0.4163, allocations: 348 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.4163, allocations: 1.156 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.4164, allocations: 6.484 kB / 456.6 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.4166, allocations: 137.2 kB / 456.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4167, allocations: 3.312 kB / 456.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.4167, allocations: 3.25 kB / 456.7 MB, free: 38.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4167, allocations: 0.6875 kB / 456.7 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.000342/0.417, allocations: 337.8 kB / 457.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4171, allocations: 9.219 kB / 457.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.4171, allocations: 4.406 kB / 457.1 MB, free: 38.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.4172, allocations: 163.6 kB / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.4172, allocations: 1 kB / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.4172, allocations: 3.938 kB / 457.2 MB, free: 38.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.4178, allocations: 84.78 kB / 457.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4178, allocations: 192 / 457.3 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.4178, allocations: 5.625 kB / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4178, allocations: 3.156 kB / 457.3 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.4182, allocations: 60.09 kB / 457.4 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.4184, allocations: 159.5 kB / 457.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.4188, allocations: 74.53 kB / 457.6 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.4188, allocations: 8.484 kB / 457.6 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002739/0.4191, allocations: 105.7 kB / 457.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4191, allocations: 36.58 kB / 457.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4191, allocations: 0 / 457.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000797/0.4199, allocations: 150.5 kB / 457.9 MB, free: 37.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.42, allocations: 54.31 kB / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/0.42, allocations: 95.7 kB / 458.1 MB, free: 37.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.4201, allocations: 25.7 kB / 458.1 MB, free: 37.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/0.4201, allocations: 83.14 kB / 458.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.4201, allocations: 5.234 kB / 458.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.4201, allocations: 16.56 kB / 458.2 MB, free: 37.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.4202, allocations: 318.3 kB / 458.5 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.4203, allocations: 19.47 kB / 458.5 MB, free: 37.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.4204, allocations: 23.09 kB / 458.5 MB, free: 37.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.4206, allocations: 43.53 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4206, allocations: 2.781 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.4208, allocations: 69.69 kB / 458.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4208, allocations: 6.875 kB / 458.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4208, allocations: 3.938 kB / 458.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4208, allocations: 0 / 458.7 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4223, allocations: 215.7 kB / 458.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/0.4245, allocations: 1.554 MB / 460.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.4246, allocations: 10.25 kB / 460.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.4246, allocations: 3.156 kB / 460.4 MB, free: 35.95 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 5.941e-05/0.4247, allocations: 110.7 kB / 460.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.4247, allocations: 64 / 460.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.289e-05/0.4247, allocations: 13.62 kB / 460.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4247, allocations: 0 / 460.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4247, allocations: 3.188 kB / 460.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4248, allocations: 1.281 kB / 460.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.999e-05/0.4248, allocations: 154.4 kB / 460.7 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4248, allocations: 0 / 460.7 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.4263, allocations: 226.2 kB / 460.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4263, allocations: 1.312 kB / 460.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4263, allocations: 7.25 kB / 461 MB, free: 35.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002128/0.4284, allocations: 1.542 MB / 462.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4284, allocations: 0 / 462.5 MB, free: 34.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.4286, allocations: 97.64 kB / 462.6 MB, free: 34.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/0.4287, allocations: 80.98 kB / 462.7 MB, free: 34.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.4287, allocations: 7.156 kB / 462.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.893e-05/0.4288, allocations: 6.984 kB / 462.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.4288, allocations: 3 kB / 462.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4288, allocations: 0 / 462.7 MB, free: 34.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.586e-05/0.4288, allocations: 78.09 kB / 462.8 MB, free: 34.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4289, allocations: 1.312 kB / 462.8 MB, free: 34.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002096/0.4291, allocations: 9.812 kB / 462.8 MB, free: 34.02 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.0001156/0.4292, allocations: 107 kB / 462.9 MB, free: 33.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4308, allocations: 268.6 kB / 463.1 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4309, allocations: 0 / 463.1 MB, free: 33.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.4334, allocations: 408 kB / 463.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.4335, allocations: 2.688 kB / 463.5 MB, free: 33.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4358, allocations: 436.1 kB / 464 MB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.436, allocations: 0.6726 MB / 464.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.477e-05/0.436, allocations: 2.875 kB / 464.6 MB, free: 33.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.4361, allocations: 7.438 kB / 464.6 MB, free: 33.05 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.4361, allocations: 0 / 464.6 MB, free: 33.05 MB / 382.1 MB Notification: Performance of Templates: time 0.00273/0.4388, allocations: 471.1 kB / 465.1 MB, free: 33.03 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (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)