Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.0008084/0.0008084, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.004425/0.004425, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7529/0.7529, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004518, allocations: 12 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3709, allocations: 81.57 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001147/0.3721, allocations: 0.9813 MB / 0.5847 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.373, allocations: 0.5882 MB / 0.5853 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.373, allocations: 2.094 kB / 0.5853 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.373, allocations: 0 / 0.5853 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.713e-05/0.3731, allocations: 5.688 kB / 0.5853 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.3735, allocations: 119.1 kB / 0.5854 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.696e-05/0.3735, allocations: 14.05 kB / 0.5854 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.3736, allocations: 5.594 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.3736, allocations: 3.547 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.551e-05/0.3736, allocations: 2.906 kB / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.3737, allocations: 0 / 0.5854 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.3742, allocations: 337.4 kB / 0.5857 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.3742, allocations: 8.625 kB / 0.5858 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.3742, allocations: 36.3 kB / 0.5858 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.3744, allocations: 133.8 kB / 0.5859 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3745, allocations: 0 / 0.5859 GB, free: 2.516 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3745, allocations: 9.531 kB / 0.5859 GB, free: 2.508 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.3745, allocations: 0 / 0.5859 GB, free: 2.508 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.0002585/0.3747, allocations: 348.8 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3748, allocations: 10.06 kB / 0.5863 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.512e-05/0.3748, allocations: 35.44 kB / 0.5863 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.798e-05/0.3748, allocations: 1.875 kB / 0.5863 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.839e-05/0.3749, allocations: 163 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.3749, allocations: 2 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-06/0.3749, allocations: 1.125 kB / 0.5865 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.584e-05/0.375, allocations: 41.89 kB / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.375, allocations: 1.031 kB / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-06/0.375, allocations: 0 / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3751, allocations: 0 / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.3751, allocations: 4.297 kB / 0.5865 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.3752, allocations: 151.6 kB / 0.5867 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.084e-05/0.3752, allocations: 23.62 kB / 0.5867 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.3753, allocations: 17.02 kB / 0.5867 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3753, allocations: 4.688 kB / 0.5867 GB, free: 1.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.3753, allocations: 39.16 kB / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.3753, allocations: 0.6875 kB / 0.5867 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001151/0.3754, allocations: 40.94 kB / 0.5868 GB, free: 1.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.3755, allocations: 52.5 kB / 0.5868 GB, free: 1.469 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.406e-05/0.3755, allocations: 98.36 kB / 0.5869 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.3755, allocations: 29.73 kB / 0.5869 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.3755, allocations: 82 kB / 0.587 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3756, allocations: 8.641 kB / 0.587 GB, free: 1.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.776e-05/0.3756, allocations: 10.56 kB / 0.587 GB, free: 1.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.3756, allocations: 316.8 kB / 0.5873 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.3756, allocations: 2.266 kB / 0.5873 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.3757, allocations: 2.562 kB / 0.5874 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.3757, allocations: 14.78 kB / 0.5874 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3757, allocations: 0 / 0.5874 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.697e-05/0.3758, allocations: 48.11 kB / 0.5874 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3758, allocations: 4.656 kB / 0.5874 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3758, allocations: 1.391 kB / 0.5874 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3758, allocations: 4.562 kB / 0.5874 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.3759, allocations: 10.45 kB / 0.5874 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002116/0.3762, allocations: 0.5846 MB / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.3762, allocations: 0 / 0.588 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.3762, allocations: 1.156 kB / 0.588 GB, free: 268 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 5.034e-05/0.3763, allocations: 117.4 kB / 0.5881 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.3763, allocations: 5.891 kB / 0.5881 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.585e-05/0.3764, allocations: 51.33 kB / 0.5882 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3764, allocations: 0.9062 kB / 0.5882 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3764, allocations: 4.125 kB / 0.5882 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3764, allocations: 1.609 kB / 0.5882 GB, free: 88 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.413e-05/0.3765, allocations: 150.2 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3765, allocations: 1.719 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.3766, allocations: 9.562 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3766, allocations: 0 / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.3766, allocations: 1.312 kB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002783/0.3769, allocations: 0.5876 MB / 0.5889 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3769, allocations: 4.5 kB / 0.5889 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.098e-05/0.377, allocations: 65.31 kB / 0.589 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.377, allocations: 82.16 kB / 0.589 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.377, allocations: 5.875 kB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.377, allocations: 0 / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/0.3771, allocations: 2.156 kB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.3771, allocations: 1.203 kB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.3771, allocations: 81.3 kB / 0.5891 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3771, allocations: 0.7812 kB / 0.5891 GB, free: 15.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000197/0.3773, allocations: 12.62 kB / 0.5891 GB, free: 15.04 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.0003631/0.3777, allocations: 0.6171 MB / 0.5898 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.3779, allocations: 25.67 kB / 0.5898 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3779, allocations: 0 / 0.5898 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.613e-05/0.378, allocations: 13.11 kB / 0.5898 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3781, allocations: 2.75 kB / 0.5898 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.3785, allocations: 155.9 kB / 0.5899 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3787, allocations: 0.6745 MB / 0.5906 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.557e-05/0.3788, allocations: 0 / 0.5906 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.006e-05/0.3788, allocations: 9.141 kB / 0.5906 GB, free: 13.55 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3788, allocations: 0.8125 kB / 0.5906 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08732/0.4661, allocations: 1.129 MB / 0.5917 GB, free: 13.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000331/0.4665, allocations: 251.1 kB / 0.5919 GB, free: 13.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.137, allocations: 1.375 kB / 0.592 GB, free: 13.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)