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.0008652/0.0008651, allocations: 91.84 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.0009103/0.0009105, 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.692/1.692, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3812/0.3812, allocations: 55.02 MB / 325.4 MB, free: 0.6289 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.000562/0.0005622, allocations: 12 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3855, allocations: 60.71 MB / 457.4 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001152/0.3867, allocations: 0.9617 MB / 458.3 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.3875, allocations: 469.8 kB / 458.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.814e-05/0.3875, allocations: 0 / 458.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.3875, allocations: 0 / 458.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.3876, allocations: 3.531 kB / 458.8 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003777/0.388, allocations: 94.75 kB / 458.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.125e-05/0.388, allocations: 15.12 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.3881, allocations: 7.062 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.3881, allocations: 0 / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.3882, allocations: 9.125 kB / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3882, allocations: 0 / 458.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.3886, allocations: 347.3 kB / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.196e-06/0.3887, allocations: 0 / 459.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.188e-05/0.3887, allocations: 25.7 kB / 459.3 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3889, allocations: 87.39 kB / 459.4 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3889, allocations: 0.5625 kB / 459.4 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3889, allocations: 0 / 459.4 MB, free: 38.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3889, allocations: 1.312 kB / 459.4 MB, free: 38.4 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.0003297/0.3892, allocations: 342.3 kB / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3893, allocations: 12.78 kB / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3893, allocations: 0 / 459.7 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.433e-05/0.3894, allocations: 163.9 kB / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3894, allocations: 5.031 kB / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.3895, allocations: 0 / 459.9 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.3899, allocations: 99.19 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3899, allocations: 0.5 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3899, allocations: 0.6562 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.39, allocations: 3 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003054/0.3903, allocations: 67.94 kB / 460 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.3904, allocations: 148.3 kB / 460.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/0.3907, allocations: 93.08 kB / 460.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.3908, allocations: 9.297 kB / 460.3 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002378/0.391, allocations: 119 kB / 460.4 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.391, allocations: 43.69 kB / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.391, allocations: 0 / 460.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00066/0.3917, allocations: 156.8 kB / 460.6 MB, free: 37.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3917, allocations: 51.41 kB / 460.6 MB, free: 37.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.702e-05/0.3918, allocations: 98.69 kB / 460.7 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.786e-06/0.3918, allocations: 29.58 kB / 460.8 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.744e-05/0.3918, allocations: 80.14 kB / 460.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3919, allocations: 11.62 kB / 460.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.3919, allocations: 0 / 460.9 MB, free: 37.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.3919, allocations: 310.8 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.662e-05/0.392, allocations: 26.06 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.3921, allocations: 22.48 kB / 461.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.974e-05/0.3922, allocations: 20.97 kB / 461.2 MB, free: 36.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3922, allocations: 0 / 461.2 MB, free: 36.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001771/0.3923, allocations: 74.69 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3924, allocations: 5.344 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3924, allocations: 0 / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3924, allocations: 1.859 kB / 461.3 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.3936, allocations: 259.1 kB / 461.6 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.3955, allocations: 1.583 MB / 463.2 MB, free: 35.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.3956, allocations: 20.14 kB / 463.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3956, allocations: 12.86 kB / 463.2 MB, free: 35.38 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.849e-05/0.3957, allocations: 111.1 kB / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-06/0.3957, allocations: 3.094 kB / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.009e-05/0.3957, allocations: 3.125 kB / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3957, allocations: 0.6094 kB / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-07/0.3957, allocations: 0 / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.3957, allocations: 0 / 463.3 MB, free: 35.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.878e-05/0.3958, allocations: 160.2 kB / 463.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3958, allocations: 0.8906 kB / 463.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.3969, allocations: 264.6 kB / 463.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.397, allocations: 0 / 463.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.397, allocations: 0 / 463.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.3987, allocations: 1.589 MB / 465.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3987, allocations: 1.219 kB / 465.3 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3989, allocations: 106.4 kB / 465.4 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.3989, allocations: 80.48 kB / 465.5 MB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-06/0.399, allocations: 0.8125 kB / 465.5 MB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.703e-05/0.399, allocations: 5.938 kB / 465.5 MB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.399, allocations: 9.812 kB / 465.5 MB, free: 33.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.399, allocations: 0 / 465.5 MB, free: 33.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.315e-05/0.3991, allocations: 77.97 kB / 465.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3991, allocations: 0 / 465.6 MB, free: 33.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.3993, allocations: 8.875 kB / 465.6 MB, free: 33.45 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 0.0001064/0.3994, allocations: 106.4 kB / 465.7 MB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.4007, allocations: 307 kB / 466 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4007, allocations: 0 / 466 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/0.4028, allocations: 462.7 kB / 466.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.403, allocations: 2.344 kB / 466.4 MB, free: 33.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.4047, allocations: 0.4919 MB / 466.9 MB, free: 33.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.116e-05/0.4048, allocations: 0.6721 MB / 467.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.79e-05/0.4048, allocations: 0 / 467.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.601e-05/0.4048, allocations: 7.438 kB / 467.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4048, allocations: 4 kB / 467.6 MB, free: 32.46 MB / 382.1 MB Notification: Performance of Templates: time 0.002/0.4069, allocations: 453 kB / 468.1 MB, free: 32.44 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: