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.001259/0.001258, allocations: 99.7 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.001526/0.001526, 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.379/1.379, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3999/0.3999, allocations: 54.98 MB / 325.4 MB, free: 0.7148 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.0005603/0.0005604, allocations: 12 kB / 396.6 MB, free: 11.76 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3333, allocations: 60.72 MB / 457.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.0009912/0.3343, allocations: 0.9537 MB / 458.3 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003042/0.3346, allocations: 170.2 kB / 458.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.3347, allocations: 1.156 kB / 458.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.095e-05/0.3347, allocations: 0 / 458.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.959e-05/0.3347, allocations: 0 / 458.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.3349, allocations: 38.97 kB / 458.5 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.694e-05/0.335, allocations: 11.31 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.335, allocations: 2.969 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.335, allocations: 7.078 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.84e-05/0.3351, allocations: 3 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.3351, allocations: 4.281 kB / 458.5 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.3353, allocations: 148.3 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-06/0.3353, allocations: 3.938 kB / 458.6 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.3353, allocations: 27.27 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.956e-05/0.3354, allocations: 40.91 kB / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3354, allocations: 0 / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3355, allocations: 0 / 458.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.3355, allocations: 0 / 458.7 MB, free: 37.95 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.0002218/0.3357, allocations: 327.1 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.3357, allocations: 8.688 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.3358, allocations: 6.75 kB / 459 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.21e-05/0.3358, allocations: 163.9 kB / 459.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3359, allocations: 0 / 459.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-06/0.3359, allocations: 3.906 kB / 459.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004425/0.3363, allocations: 90.78 kB / 459.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3363, allocations: 0.7969 kB / 459.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.3363, allocations: 2.906 kB / 459.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.3364, allocations: 3.438 kB / 459.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.3367, allocations: 73.36 kB / 459.4 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.822e-05/0.3368, allocations: 148.4 kB / 459.5 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.3372, allocations: 86.67 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002379/0.3374, allocations: 116 kB / 459.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.3375, allocations: 32.94 kB / 459.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3375, allocations: 0 / 459.8 MB, free: 37.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007413/0.3382, allocations: 169.7 kB / 459.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.007e-05/0.3382, allocations: 51.41 kB / 460 MB, free: 36.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.134e-05/0.3383, allocations: 96.22 kB / 460.1 MB, free: 36.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.554e-06/0.3383, allocations: 25.7 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.559e-05/0.3383, allocations: 80.3 kB / 460.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.3384, allocations: 12.28 kB / 460.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/0.3384, allocations: 2.438 kB / 460.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.949e-05/0.3384, allocations: 316.1 kB / 460.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.3385, allocations: 20.58 kB / 460.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.3386, allocations: 25.48 kB / 460.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.985e-05/0.3387, allocations: 21.61 kB / 460.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3387, allocations: 0 / 460.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001953/0.3389, allocations: 78 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.3389, allocations: 3.438 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.3389, allocations: 4.031 kB / 460.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.3389, allocations: 3.781 kB / 460.6 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3403, allocations: 250.7 kB / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.3425, allocations: 1.609 MB / 462.5 MB, free: 34.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.3426, allocations: 16.95 kB / 462.5 MB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3426, allocations: 5.891 kB / 462.5 MB, free: 34.96 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 4.548e-05/0.3427, allocations: 116.4 kB / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.3427, allocations: 5.25 kB / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.088e-05/0.3427, allocations: 3.125 kB / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3427, allocations: 0 / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.3427, allocations: 0 / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-06/0.3427, allocations: 0 / 462.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.855e-05/0.3428, allocations: 161.2 kB / 462.8 MB, free: 34.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3428, allocations: 0 / 462.8 MB, free: 34.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.3442, allocations: 260.3 kB / 463.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3442, allocations: 0.9375 kB / 463.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.3442, allocations: 0 / 463.1 MB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.3463, allocations: 1.616 MB / 464.7 MB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3464, allocations: 0 / 464.7 MB, free: 33.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.3466, allocations: 100 kB / 464.8 MB, free: 33.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3466, allocations: 77.11 kB / 464.8 MB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-06/0.3466, allocations: 0.5 kB / 464.8 MB, free: 33.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.292e-05/0.3467, allocations: 17.67 kB / 464.9 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.3467, allocations: 3.938 kB / 464.9 MB, free: 33.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.3467, allocations: 2.562 kB / 464.9 MB, free: 33.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.785e-05/0.3468, allocations: 78.88 kB / 464.9 MB, free: 33.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3468, allocations: 0 / 464.9 MB, free: 33.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002055/0.347, allocations: 5.688 kB / 465 MB, free: 33.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 (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 9.416e-05/0.3471, allocations: 102.7 kB / 465.1 MB, free: 32.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.3487, allocations: 311.3 kB / 465.4 MB, free: 32.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3487, allocations: 0 / 465.4 MB, free: 32.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.3512, allocations: 454.5 kB / 465.8 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.3513, allocations: 4.703 kB / 465.8 MB, free: 32.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.3533, allocations: 498.6 kB / 466.3 MB, free: 32.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.269e-05/0.3534, allocations: 0.6784 MB / 467 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.68e-05/0.3534, allocations: 4 kB / 467 MB, free: 32.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.3534, allocations: 7.438 kB / 467 MB, free: 32.03 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3534, allocations: 0 / 467 MB, free: 32.03 MB / 382.1 MB Notification: Performance of Templates: time 0.002051/0.3555, allocations: 444.7 kB / 467.4 MB, free: 32.02 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: