Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_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.004897/0.004896, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.00119/0.00119, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9799/0.9799, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 59.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4271/0.4285, allocations: 80.92 MB / 0.6642 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002122/0.4307, allocations: 1.248 MB / 0.6654 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4317, allocations: 0.5869 MB / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.4318, allocations: 0 / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.4318, allocations: 0 / 0.6659 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.4319, allocations: 5.266 kB / 0.6659 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004655/0.4323, allocations: 146.8 kB / 0.6661 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.37e-05/0.4324, allocations: 16.97 kB / 0.6661 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.4324, allocations: 5.109 kB / 0.6661 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.079e-05/0.4325, allocations: 2.531 kB / 0.6661 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.4325, allocations: 6.344 kB / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.4325, allocations: 0 / 0.6661 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004358/0.433, allocations: 345.2 kB / 0.6664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-06/0.433, allocations: 1.375 kB / 0.6664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.83e-05/0.433, allocations: 1.25 kB / 0.6664 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4332, allocations: 149 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4332, allocations: 1.469 kB / 0.6666 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4332, allocations: 4 kB / 0.6666 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4333, allocations: 0 / 0.6666 GB, free: 5.387 MB / 0.4981 GB 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.0003114/0.4336, allocations: 343.7 kB / 0.6669 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4336, allocations: 13.64 kB / 0.6669 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.101e-05/0.4336, allocations: 30.75 kB / 0.667 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.123e-05/0.4337, allocations: 2.219 kB / 0.667 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.389e-05/0.4337, allocations: 161.8 kB / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.4338, allocations: 384 / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.4338, allocations: 5.562 kB / 0.6671 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.4339, allocations: 40.92 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.4339, allocations: 0 / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.4339, allocations: 3.984 kB / 0.6672 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4339, allocations: 1.75 kB / 0.6672 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.522e-05/0.4339, allocations: 2.781 kB / 0.6672 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.434, allocations: 152.1 kB / 0.6673 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.4341, allocations: 24.34 kB / 0.6673 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.4341, allocations: 14.17 kB / 0.6674 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4341, allocations: 1.469 kB / 0.6674 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4341, allocations: 39.62 kB / 0.6674 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4342, allocations: 0 / 0.6674 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001222/0.4343, allocations: 35.02 kB / 0.6674 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.4343, allocations: 52.75 kB / 0.6675 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.741e-05/0.4344, allocations: 103.4 kB / 0.6676 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-06/0.4344, allocations: 26.89 kB / 0.6676 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.272e-05/0.4344, allocations: 80.14 kB / 0.6677 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.4344, allocations: 9 kB / 0.6677 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.4345, allocations: 16.97 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.4345, allocations: 310.8 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.4345, allocations: 7.016 kB / 0.668 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.4345, allocations: 1.125 kB / 0.668 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.4346, allocations: 22.27 kB / 0.668 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4346, allocations: 3.938 kB / 0.668 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.089e-05/0.4346, allocations: 42.02 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4346, allocations: 5.469 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4346, allocations: 0 / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4347, allocations: 0.9375 kB / 0.6681 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4348, allocations: 12.45 kB / 0.6681 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000219/0.435, allocations: 0.5895 MB / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.65e-05/0.4351, allocations: 1.562 kB / 0.6687 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.4351, allocations: 7.938 kB / 0.6687 GB, free: 3.105 MB / 0.4981 GB 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.238e-05/0.4351, allocations: 108.4 kB / 0.6688 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.4351, allocations: 5.547 kB / 0.6688 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.141e-05/0.4352, allocations: 41.27 kB / 0.6688 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.4352, allocations: 0 / 0.6688 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4353, allocations: 5.344 kB / 0.6688 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.4353, allocations: 0 / 0.6688 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.096e-05/0.4353, allocations: 152.2 kB / 0.669 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4353, allocations: 0 / 0.669 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.4354, allocations: 15.64 kB / 0.669 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4354, allocations: 1.219 kB / 0.669 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.4354, allocations: 7.938 kB / 0.669 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/0.4356, allocations: 0.5875 MB / 0.6696 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.4356, allocations: 0 / 0.6696 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.218e-05/0.4357, allocations: 66.12 kB / 0.6696 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.4357, allocations: 78.55 kB / 0.6697 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.4357, allocations: 7.875 kB / 0.6697 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.4357, allocations: 1.375 kB / 0.6697 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.4357, allocations: 0 / 0.6697 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.4357, allocations: 2.031 kB / 0.6697 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.734e-05/0.4358, allocations: 84.45 kB / 0.6698 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4358, allocations: 0 / 0.6698 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001907/0.436, allocations: 10.97 kB / 0.6698 GB, free: 1.871 MB / 0.4981 GB 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.0002615/0.4362, allocations: 0.6092 MB / 0.6704 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.4364, allocations: 22.05 kB / 0.6704 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4364, allocations: 0 / 0.6704 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.009e-05/0.4365, allocations: 14.2 kB / 0.6704 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.4366, allocations: 9.266 kB / 0.6705 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.437, allocations: 139.9 kB / 0.6706 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.4372, allocations: 0.679 MB / 0.6712 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.4372, allocations: 5.031 kB / 0.6713 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.4372, allocations: 8.5 kB / 0.6713 GB, free: 380 kB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4372, allocations: 0 / 0.6713 GB, free: 380 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.4545, allocations: 1.379 MB / 0.6726 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.38, allocations: 11.39 kB / 0.6726 GB, free: 15.65 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)