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.001368/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001536/0.001536, allocations: 191.3 kB / 16.14 MB, free: 6.707 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7045/0.7045, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 64.12 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3158, allocations: 80.2 MB / 0.5795 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002255/0.3181, allocations: 1.317 MB / 0.5808 GB, free: 3.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.3189, allocations: 0.6064 MB / 0.5814 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.3189, allocations: 0.7812 kB / 0.5814 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.319, allocations: 0.7031 kB / 0.5814 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.319, allocations: 1.438 kB / 0.5814 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.3195, allocations: 123.8 kB / 0.5815 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.418e-05/0.3195, allocations: 9.703 kB / 0.5815 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.3196, allocations: 2.609 kB / 0.5815 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.3196, allocations: 2.938 kB / 0.5815 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.469e-05/0.3196, allocations: 6.594 kB / 0.5815 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.3196, allocations: 1.375 kB / 0.5815 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.3202, allocations: 344.7 kB / 0.5819 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.3202, allocations: 3.938 kB / 0.5819 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.3202, allocations: 2.797 kB / 0.5819 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.3205, allocations: 144.6 kB / 0.582 GB, free: 2.988 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3205, allocations: 4.812 kB / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.3205, allocations: 0 / 0.582 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.3206, allocations: 1.031 kB / 0.582 GB, free: 2.984 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.0002897/0.3209, allocations: 344.7 kB / 0.5823 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3209, allocations: 9.781 kB / 0.5823 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.01e-05/0.3209, allocations: 34.75 kB / 0.5824 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.3209, allocations: 2.875 kB / 0.5824 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.914e-05/0.321, allocations: 162 kB / 0.5825 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.321, allocations: 1.969 kB / 0.5825 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-06/0.321, allocations: 5.438 kB / 0.5825 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.3211, allocations: 34.02 kB / 0.5826 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.3211, allocations: 3.938 kB / 0.5826 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.3211, allocations: 0.6094 kB / 0.5826 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3211, allocations: 1.812 kB / 0.5826 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.3212, allocations: 2.875 kB / 0.5826 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.732e-05/0.3213, allocations: 150.8 kB / 0.5827 GB, free: 2.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.459e-05/0.3213, allocations: 32.19 kB / 0.5828 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.859e-05/0.3213, allocations: 13.2 kB / 0.5828 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3214, allocations: 3.938 kB / 0.5828 GB, free: 2.094 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.3214, allocations: 32.3 kB / 0.5828 GB, free: 2.055 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.643e-06/0.3214, allocations: 0 / 0.5828 GB, free: 2.055 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001133/0.3215, allocations: 46 kB / 0.5828 GB, free: 2.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.63e-05/0.3215, allocations: 51.41 kB / 0.5829 GB, free: 1.953 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.983e-05/0.3216, allocations: 98.09 kB / 0.583 GB, free: 1.852 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.3216, allocations: 25.7 kB / 0.583 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.441e-05/0.3216, allocations: 86.02 kB / 0.5831 GB, free: 1.734 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3216, allocations: 13.06 kB / 0.5831 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.3217, allocations: 13.03 kB / 0.5831 GB, free: 1.707 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.3217, allocations: 316.2 kB / 0.5834 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.3217, allocations: 6.406 kB / 0.5834 GB, free: 1.387 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.348e-06/0.3217, allocations: 3.188 kB / 0.5834 GB, free: 1.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.529e-05/0.3218, allocations: 18.19 kB / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3218, allocations: 0 / 0.5834 GB, free: 1.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.454e-05/0.3218, allocations: 43.47 kB / 0.5835 GB, free: 1.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.3219, allocations: 6.25 kB / 0.5835 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.3219, allocations: 0 / 0.5835 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.3219, allocations: 0.8125 kB / 0.5835 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.322, allocations: 10.33 kB / 0.5835 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002025/0.3222, allocations: 0.5878 MB / 0.5841 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.3223, allocations: 3.906 kB / 0.5841 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3223, allocations: 0.75 kB / 0.5841 GB, free: 0.7344 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 (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.18e-05/0.3223, allocations: 114 kB / 0.5842 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-06/0.3223, allocations: 1.219 kB / 0.5842 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.49e-05/0.3224, allocations: 44.3 kB / 0.5842 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3224, allocations: 4.75 kB / 0.5842 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3224, allocations: 0.7188 kB / 0.5842 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3224, allocations: 0.5625 kB / 0.5842 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.123e-05/0.3225, allocations: 159.2 kB / 0.5844 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3225, allocations: 0 / 0.5844 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.3226, allocations: 14.69 kB / 0.5844 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3226, allocations: 1.312 kB / 0.5844 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3226, allocations: 0.75 kB / 0.5844 GB, free: 380 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002172/0.3228, allocations: 0.5915 MB / 0.585 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3228, allocations: 0 / 0.585 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.462e-05/0.3229, allocations: 60.61 kB / 0.585 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.323, allocations: 79.2 kB / 0.5851 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.323, allocations: 5 kB / 0.5851 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.486e-05/0.323, allocations: 0.5156 kB / 0.5851 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.323, allocations: 13.8 kB / 0.5851 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.323, allocations: 1.25 kB / 0.5851 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.847e-05/0.3231, allocations: 78.34 kB / 0.5852 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.333e-06/0.3231, allocations: 0 / 0.5852 GB, free: 15.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.3233, allocations: 15.52 kB / 0.5852 GB, free: 15.52 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 (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.0003308/0.3236, allocations: 0.6061 MB / 0.5858 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.3238, allocations: 29.48 kB / 0.5859 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3238, allocations: 3.938 kB / 0.5859 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.3239, allocations: 13.12 kB / 0.5859 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.324, allocations: 6.781 kB / 0.5859 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000375/0.3244, allocations: 140.3 kB / 0.586 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3246, allocations: 0.673 MB / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.622e-05/0.3246, allocations: 1.859 kB / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.941e-05/0.3247, allocations: 8.219 kB / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.725e-06/0.3247, allocations: 0 / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.068/1.393, allocations: 1.212 MB / 0.5879 GB, free: 13.82 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/1.393, allocations: 253.7 kB / 0.5881 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/3.427, allocations: 0 / 0.5881 GB, free: 13.57 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/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)