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.001449/0.001449, allocations: 97.91 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.001996/0.001996, 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.029/2.029, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9661/0.9661, allocations: 132.3 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004938, allocations: 17.52 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7339, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001896/0.7358, allocations: 0.966 MB / 0.5839 GB, free: 3.277 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.7367, allocations: 324.2 kB / 0.5842 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.7367, allocations: 0 / 0.5842 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.014e-05/0.7368, allocations: 0.7031 kB / 0.5842 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.95e-05/0.7368, allocations: 9.5 kB / 0.5842 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005233/0.7374, allocations: 67.09 kB / 0.5843 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.909e-05/0.7375, allocations: 12.81 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.7375, allocations: 0.7031 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.7376, allocations: 4.359 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.7376, allocations: 1.938 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.7376, allocations: 1.312 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.7382, allocations: 178.8 kB / 0.5845 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.7382, allocations: 5.859 kB / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.7383, allocations: 30.98 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.7385, allocations: 54.56 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7385, allocations: 0.9375 kB / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7385, allocations: 0 / 0.5846 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.7385, allocations: 0 / 0.5846 GB, free: 2.914 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.0004193/0.7389, allocations: 340 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.739, allocations: 10.19 kB / 0.5849 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.739, allocations: 30.56 kB / 0.5849 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.7391, allocations: 5.062 kB / 0.5849 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7392, allocations: 173.5 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.7392, allocations: 1 kB / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.7393, allocations: 0 / 0.5851 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.7394, allocations: 31.14 kB / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.7394, allocations: 0 / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7394, allocations: 1.75 kB / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.7394, allocations: 0 / 0.5851 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.391e-05/0.7395, allocations: 7.781 kB / 0.5851 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.7397, allocations: 151.5 kB / 0.5853 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.7398, allocations: 31.58 kB / 0.5853 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.7398, allocations: 1.703 kB / 0.5853 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.7398, allocations: 32.38 kB / 0.5854 GB, free: 1.996 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.7398, allocations: 0 / 0.5854 GB, free: 1.996 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001949/0.74, allocations: 39.98 kB / 0.5854 GB, free: 1.961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.7401, allocations: 52.41 kB / 0.5854 GB, free: 1.898 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.7402, allocations: 98.41 kB / 0.5855 GB, free: 1.797 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.7402, allocations: 25.7 kB / 0.5856 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.7402, allocations: 81.78 kB / 0.5856 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.7403, allocations: 13.78 kB / 0.5856 GB, free: 1.672 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.7403, allocations: 0 / 0.5856 GB, free: 1.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.7403, allocations: 316.6 kB / 0.5859 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.7404, allocations: 1.5 kB / 0.586 GB, free: 1.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.7404, allocations: 3.172 kB / 0.586 GB, free: 1.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.7404, allocations: 10.09 kB / 0.586 GB, free: 1.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7404, allocations: 5.094 kB / 0.586 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.917e-05/0.7406, allocations: 39.84 kB / 0.586 GB, free: 1.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7406, allocations: 5.125 kB / 0.586 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7406, allocations: 0 / 0.586 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.7406, allocations: 1.453 kB / 0.586 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.7409, allocations: 9.516 kB / 0.586 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003654/0.7413, allocations: 0.5879 MB / 0.5866 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/0.7413, allocations: 4.609 kB / 0.5866 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.7413, allocations: 1.094 kB / 0.5866 GB, free: 0.7109 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 0.0001017/0.7414, allocations: 116.8 kB / 0.5867 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.308e-05/0.7415, allocations: 4.562 kB / 0.5867 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.7416, allocations: 48.22 kB / 0.5868 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.7416, allocations: 0 / 0.5868 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7416, allocations: 5.938 kB / 0.5868 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.7417, allocations: 0 / 0.5868 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.616e-05/0.7418, allocations: 155 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7418, allocations: 0.875 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.7419, allocations: 10.2 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7419, allocations: 0.8125 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.7419, allocations: 1.531 kB / 0.5869 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/0.7423, allocations: 0.5871 MB / 0.5875 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7423, allocations: 0.7031 kB / 0.5875 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/0.7425, allocations: 64.86 kB / 0.5876 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.779e-05/0.7426, allocations: 81.86 kB / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.7426, allocations: 1.031 kB / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/0.7426, allocations: 1.594 kB / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.7427, allocations: 9.547 kB / 0.5877 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.7427, allocations: 4.781 kB / 0.5877 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.692e-05/0.7427, allocations: 77.97 kB / 0.5877 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7427, allocations: 0 / 0.5877 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.7431, allocations: 7.672 kB / 0.5877 GB, free: 15.5 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.0006625/0.7438, allocations: 0.6106 MB / 0.5883 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.7441, allocations: 24.59 kB / 0.5884 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.7441, allocations: 3.938 kB / 0.5884 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.7442, allocations: 14.08 kB / 0.5884 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.7444, allocations: 4.922 kB / 0.5884 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.745, allocations: 149.1 kB / 0.5885 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.7455, allocations: 0.6764 MB / 0.5892 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.7455, allocations: 0.7031 kB / 0.5892 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.7456, allocations: 8.938 kB / 0.5892 GB, free: 14.01 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.7456, allocations: 0 / 0.5892 GB, free: 14.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.7645, allocations: 1.121 MB / 0.5903 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/0.7648, allocations: 234.7 kB / 0.5905 GB, free: 13.65 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.601/3.365, allocations: 7.312 kB / 0.5905 GB, free: 13.64 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/linux/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) Environment - environmentSimulation: