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.0008304/0.0008307, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005097/0.005097, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7539/0.7539, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 11.98 kB / 0.5041 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3432, allocations: 81.56 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001089/0.3443, allocations: 0.9857 MB / 0.5847 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.3451, allocations: 0.5868 MB / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.3452, allocations: 0 / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.154e-05/0.3452, allocations: 0 / 0.5853 GB, free: 2.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.3452, allocations: 6.219 kB / 0.5853 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.3456, allocations: 122.1 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.467e-05/0.3457, allocations: 5.172 kB / 0.5854 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.279e-05/0.3457, allocations: 6.922 kB / 0.5854 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.3457, allocations: 8.109 kB / 0.5854 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.3457, allocations: 7.031 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.155e-06/0.3458, allocations: 0 / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.3462, allocations: 341.7 kB / 0.5858 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.326e-06/0.3463, allocations: 4 kB / 0.5858 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.3463, allocations: 32.92 kB / 0.5858 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3465, allocations: 140.7 kB / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3465, allocations: 0 / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3465, allocations: 0 / 0.5859 GB, free: 2.648 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.3465, allocations: 0.7188 kB / 0.5859 GB, free: 2.648 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.0002592/0.3468, allocations: 346.5 kB / 0.5863 GB, free: 2.277 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3468, allocations: 9.875 kB / 0.5863 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.3469, allocations: 39.27 kB / 0.5863 GB, free: 2.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.3469, allocations: 6.828 kB / 0.5863 GB, free: 2.227 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.765e-05/0.347, allocations: 166.3 kB / 0.5865 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.347, allocations: 1.281 kB / 0.5865 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.347, allocations: 1.312 kB / 0.5865 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.832e-05/0.3471, allocations: 34.72 kB / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.3471, allocations: 0 / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.3471, allocations: 0 / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3471, allocations: 1.156 kB / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.3471, allocations: 3.734 kB / 0.5865 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.375e-05/0.3472, allocations: 155 kB / 0.5867 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.891e-05/0.3473, allocations: 28.42 kB / 0.5867 GB, free: 1.766 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.517e-05/0.3473, allocations: 11.64 kB / 0.5867 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3473, allocations: 4.875 kB / 0.5867 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.3473, allocations: 31.88 kB / 0.5867 GB, free: 1.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3473, allocations: 0.6875 kB / 0.5867 GB, free: 1.711 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000109/0.3474, allocations: 49 kB / 0.5868 GB, free: 1.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.3475, allocations: 52.69 kB / 0.5868 GB, free: 1.605 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.909e-05/0.3475, allocations: 96.8 kB / 0.5869 GB, free: 1.504 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-06/0.3475, allocations: 26.45 kB / 0.5869 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.28e-05/0.3475, allocations: 89.64 kB / 0.587 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3476, allocations: 9.297 kB / 0.587 GB, free: 1.375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.3476, allocations: 10.94 kB / 0.587 GB, free: 1.359 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.307e-05/0.3476, allocations: 313.7 kB / 0.5873 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.348e-06/0.3476, allocations: 4.938 kB / 0.5873 GB, free: 1.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.3476, allocations: 2.594 kB / 0.5874 GB, free: 1.043 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.362e-05/0.3477, allocations: 15.91 kB / 0.5874 GB, free: 1.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3477, allocations: 0 / 0.5874 GB, free: 1.031 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.204e-05/0.3477, allocations: 43.84 kB / 0.5874 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3478, allocations: 4.062 kB / 0.5874 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3478, allocations: 2 kB / 0.5874 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.3478, allocations: 11.86 kB / 0.5874 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.3479, allocations: 14.89 kB / 0.5874 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001966/0.3481, allocations: 0.5799 MB / 0.588 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.3481, allocations: 0 / 0.588 GB, free: 400 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3482, allocations: 1.469 kB / 0.588 GB, free: 400 kB / 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.045e-05/0.3482, allocations: 113.1 kB / 0.5881 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-06/0.3482, allocations: 9.438 kB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.3483, allocations: 48.36 kB / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3483, allocations: 1.156 kB / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3483, allocations: 0 / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.3483, allocations: 0 / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.064e-05/0.3484, allocations: 155.3 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3484, allocations: 1.406 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.064e-05/0.3485, allocations: 9.25 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3485, allocations: 1.188 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.3485, allocations: 0.7031 kB / 0.5883 GB, free: 28 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002666/0.3488, allocations: 0.5883 MB / 0.5889 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3488, allocations: 0 / 0.5889 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.463e-05/0.3488, allocations: 64.64 kB / 0.589 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.3489, allocations: 79.09 kB / 0.589 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3489, allocations: 13.41 kB / 0.5891 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.39e-05/0.3489, allocations: 0.9688 kB / 0.5891 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.3489, allocations: 1.891 kB / 0.5891 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3489, allocations: 0 / 0.5891 GB, free: 15.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.349, allocations: 81.97 kB / 0.5891 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.349, allocations: 0 / 0.5891 GB, free: 15.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.3492, allocations: 12.05 kB / 0.5891 GB, free: 15.18 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.0003268/0.3495, allocations: 0.6168 MB / 0.5898 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3496, allocations: 29.7 kB / 0.5898 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3497, allocations: 0 / 0.5898 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.3497, allocations: 13.59 kB / 0.5898 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.3499, allocations: 1.844 kB / 0.5898 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.3502, allocations: 152.5 kB / 0.5899 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.3504, allocations: 0.6751 MB / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.334e-05/0.3504, allocations: 0 / 0.5906 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.3505, allocations: 8.719 kB / 0.5906 GB, free: 13.69 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3505, allocations: 0 / 0.5906 GB, free: 13.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2342/0.5847, allocations: 1.152 MB / 0.5917 GB, free: 13.56 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.585, allocations: 253.8 kB / 0.592 GB, free: 13.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.225, allocations: 0 / 0.592 GB, free: 13.31 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)