Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 99.47 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.001753/0.001753, 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 4.0.0+maint.om/package.mo): time 2.485/2.485, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.213/1.213, allocations: 132.2 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006294, allocations: 11.94 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8583/0.859, allocations: 81.58 MB / 0.583 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002835/0.8619, allocations: 0.9646 MB / 0.5839 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.863, allocations: 296.3 kB / 0.5842 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.8631, allocations: 0 / 0.5842 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8632, allocations: 0 / 0.5842 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.338e-05/0.8633, allocations: 5.828 kB / 0.5842 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007567/0.864, allocations: 63.38 kB / 0.5843 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.8641, allocations: 3.719 kB / 0.5843 GB, free: 2.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.8642, allocations: 9.734 kB / 0.5843 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.8643, allocations: 6.812 kB / 0.5843 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.946e-05/0.8644, allocations: 7.328 kB / 0.5843 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.755e-05/0.8644, allocations: 0.9688 kB / 0.5843 GB, free: 2.922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.8652, allocations: 177.5 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.8652, allocations: 1.391 kB / 0.5845 GB, free: 2.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.597e-05/0.8653, allocations: 27.28 kB / 0.5845 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.8656, allocations: 51.41 kB / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8656, allocations: 0 / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.8657, allocations: 0 / 0.5845 GB, free: 2.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.8657, allocations: 0 / 0.5845 GB, free: 2.832 MB / 430.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.0005934/0.8663, allocations: 338.3 kB / 0.5849 GB, free: 2.465 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.263e-05/0.8664, allocations: 9.984 kB / 0.5849 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.8664, allocations: 31.22 kB / 0.5849 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.8665, allocations: 0.875 kB / 0.5849 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.8667, allocations: 170.4 kB / 0.5851 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.8667, allocations: 4 kB / 0.5851 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.8667, allocations: 1.062 kB / 0.5851 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.8669, allocations: 38.2 kB / 0.5851 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8669, allocations: 0 / 0.5851 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8669, allocations: 1.094 kB / 0.5851 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.867, allocations: 0 / 0.5851 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.867, allocations: 4.031 kB / 0.5851 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002203/0.8673, allocations: 154.7 kB / 0.5853 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.091e-05/0.8674, allocations: 24.86 kB / 0.5853 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.8674, allocations: 2.234 kB / 0.5853 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.8675, allocations: 35.11 kB / 0.5853 GB, free: 1.914 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.544e-06/0.8675, allocations: 0 / 0.5853 GB, free: 1.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002412/0.8677, allocations: 40.91 kB / 0.5854 GB, free: 1.879 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.8678, allocations: 52.59 kB / 0.5854 GB, free: 1.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.8679, allocations: 97.28 kB / 0.5855 GB, free: 1.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.8679, allocations: 30.58 kB / 0.5855 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/0.868, allocations: 82.42 kB / 0.5856 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.8681, allocations: 7.844 kB / 0.5856 GB, free: 1.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.8681, allocations: 0 / 0.5856 GB, free: 1.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.8682, allocations: 317 kB / 0.5859 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.8683, allocations: 2.781 kB / 0.5859 GB, free: 1.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.8683, allocations: 6.031 kB / 0.5859 GB, free: 1.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.961e-05/0.8684, allocations: 10.66 kB / 0.5859 GB, free: 1.262 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8684, allocations: 0.5625 kB / 0.5859 GB, free: 1.262 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000112/0.8685, allocations: 39.27 kB / 0.586 GB, free: 1.227 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.8686, allocations: 6.266 kB / 0.586 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8686, allocations: 3.938 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.8686, allocations: 0.9062 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.8689, allocations: 10.33 kB / 0.586 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000543/0.8695, allocations: 0.588 MB / 0.5866 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.8696, allocations: 8.703 kB / 0.5866 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.8696, allocations: 0.9375 kB / 0.5866 GB, free: 0.6211 MB / 430.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 8.782e-05/0.8697, allocations: 107.6 kB / 0.5867 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.8697, allocations: 5.219 kB / 0.5867 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001754/0.8699, allocations: 44.45 kB / 0.5867 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.8699, allocations: 4.547 kB / 0.5867 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.8699, allocations: 1.156 kB / 0.5867 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.87, allocations: 4 kB / 0.5867 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.8701, allocations: 159.8 kB / 0.5869 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8701, allocations: 0.6562 kB / 0.5869 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.8703, allocations: 9.094 kB / 0.5869 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.8703, allocations: 1.609 kB / 0.5869 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.8703, allocations: 0.875 kB / 0.5869 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005301/0.8709, allocations: 0.5871 MB / 0.5875 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8709, allocations: 5.031 kB / 0.5875 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.8711, allocations: 61.14 kB / 0.5875 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.8711, allocations: 79.08 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.8712, allocations: 0 / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.933e-05/0.8712, allocations: 1.578 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.8713, allocations: 5.938 kB / 0.5876 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8713, allocations: 3.938 kB / 0.5876 GB, free: 15.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.701e-05/0.8714, allocations: 81.83 kB / 0.5877 GB, free: 15.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8714, allocations: 0.9688 kB / 0.5877 GB, free: 15.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.8718, allocations: 6.094 kB / 0.5877 GB, free: 15.41 MB / 446.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.0008321/0.8727, allocations: 0.6156 MB / 0.5883 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002992/0.873, allocations: 16.27 kB / 0.5883 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.873, allocations: 0 / 0.5883 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.8732, allocations: 18.06 kB / 0.5883 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.8734, allocations: 8.641 kB / 0.5883 GB, free: 14.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009773/0.8744, allocations: 145.3 kB / 0.5885 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.875, allocations: 0.6767 MB / 0.5891 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.971e-05/0.875, allocations: 0.8125 kB / 0.5891 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.8751, allocations: 13.28 kB / 0.5892 GB, free: 13.93 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.8751, allocations: 0 / 0.5892 GB, free: 13.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.9016, allocations: 1.138 MB / 0.5903 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004242/0.9021, allocations: 239.6 kB / 0.5905 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.787/3.689, allocations: 0 / 0.5905 GB, free: 13.56 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: