Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.007572/0.007572, allocations: 108.9 kB / 15.74 MB, free: 6.441 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.001532/0.001532, allocations: 194.8 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9789/0.9789, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 71.88 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4056, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001786/0.4074, allocations: 1.242 MB / 0.6658 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007433/0.4082, allocations: 0.5937 MB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.056e-05/0.4082, allocations: 0 / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.4082, allocations: 0 / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.367e-05/0.4083, allocations: 1.219 kB / 0.6664 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.4087, allocations: 154.3 kB / 0.6666 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.593e-05/0.4088, allocations: 9.188 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.616e-05/0.4088, allocations: 1.312 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.596e-05/0.4088, allocations: 2.875 kB / 0.6666 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.893e-05/0.4089, allocations: 13.17 kB / 0.6666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.816e-06/0.4089, allocations: 1.562 kB / 0.6666 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.4093, allocations: 344.2 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.4093, allocations: 1.219 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.4094, allocations: 1.438 kB / 0.6669 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.4096, allocations: 139.2 kB / 0.6671 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4096, allocations: 4 kB / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4096, allocations: 1.375 kB / 0.6671 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.4096, allocations: 3.938 kB / 0.6671 GB, free: 5.727 MB / 0.4981 GB 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.0002796/0.4099, allocations: 348.4 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.123e-05/0.4099, allocations: 10.78 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.41, allocations: 0.9375 kB / 0.6674 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.221e-05/0.41, allocations: 169.7 kB / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.41, allocations: 384 / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.4101, allocations: 1.656 kB / 0.6676 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.77e-05/0.4101, allocations: 36.95 kB / 0.6676 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.4102, allocations: 0 / 0.6676 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.4102, allocations: 1.469 kB / 0.6676 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4102, allocations: 0 / 0.6676 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.4102, allocations: 6.156 kB / 0.6676 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.4103, allocations: 153.6 kB / 0.6678 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.4104, allocations: 24.11 kB / 0.6678 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.4104, allocations: 14.05 kB / 0.6678 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.4104, allocations: 5.344 kB / 0.6678 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.09e-05/0.4104, allocations: 32.06 kB / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.4104, allocations: 0 / 0.6678 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001187/0.4106, allocations: 46.19 kB / 0.6679 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.4106, allocations: 52.81 kB / 0.6679 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.164e-05/0.4106, allocations: 92.27 kB / 0.668 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.4106, allocations: 29.83 kB / 0.6681 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.164e-05/0.4107, allocations: 85.5 kB / 0.6681 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.4107, allocations: 16.8 kB / 0.6682 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/0.4107, allocations: 12.22 kB / 0.6682 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.797e-05/0.4108, allocations: 312.2 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.4108, allocations: 1.438 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.4108, allocations: 1.375 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.539e-05/0.4108, allocations: 17.89 kB / 0.6685 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4108, allocations: 1.531 kB / 0.6685 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.26e-05/0.4109, allocations: 50.31 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.4109, allocations: 3.812 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4109, allocations: 1.375 kB / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4109, allocations: 0 / 0.6685 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4111, allocations: 12.14 kB / 0.6685 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002177/0.4113, allocations: 0.5857 MB / 0.6691 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.4113, allocations: 1.562 kB / 0.6691 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4113, allocations: 3.984 kB / 0.6691 GB, free: 3.488 MB / 0.4981 GB 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 4.708e-05/0.4114, allocations: 113.8 kB / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.555e-06/0.4114, allocations: 0 / 0.6692 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.4115, allocations: 48.94 kB / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4115, allocations: 1.031 kB / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4115, allocations: 8.062 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.4115, allocations: 1.25 kB / 0.6693 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.35e-05/0.4116, allocations: 156.1 kB / 0.6694 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4116, allocations: 0 / 0.6694 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.79e-05/0.4117, allocations: 12.09 kB / 0.6695 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4117, allocations: 0 / 0.6695 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.4117, allocations: 5.328 kB / 0.6695 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001598/0.4118, allocations: 0.5858 MB / 0.67 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4119, allocations: 9.219 kB / 0.67 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.885e-05/0.4119, allocations: 62.33 kB / 0.6701 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.507e-05/0.4119, allocations: 81.09 kB / 0.6702 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.412, allocations: 5 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.522e-05/0.412, allocations: 1.438 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.412, allocations: 0 / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.412, allocations: 1.344 kB / 0.6702 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.412, allocations: 84.56 kB / 0.6703 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.412, allocations: 0 / 0.6703 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002077/0.4122, allocations: 7.531 kB / 0.6703 GB, free: 2.246 MB / 0.4981 GB 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.0001298/0.4124, allocations: 111.7 kB / 0.6704 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.4125, allocations: 20.64 kB / 0.6704 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4125, allocations: 1.656 kB / 0.6704 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.4126, allocations: 21.58 kB / 0.6704 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.4128, allocations: 1.312 kB / 0.6704 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.413, allocations: 111.3 kB / 0.6705 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.215e-05/0.4131, allocations: 0.6724 MB / 0.6712 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.51e-05/0.4131, allocations: 0 / 0.6712 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.447e-05/0.4132, allocations: 12.5 kB / 0.6712 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.4132, allocations: 4.062 kB / 0.6712 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.002285/0.4155, allocations: 443 kB / 0.6716 GB, free: 1.074 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)