Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_m_flow,fileNamePrefix="IDEAS_dev_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_dev_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.007638/0.007638, allocations: 106.2 kB / 15.74 MB, free: 6 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.001706/0.001706, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8984/0.8984, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.91 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3906, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002035/0.3927, allocations: 1.253 MB / 0.6654 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008032/0.3935, allocations: 0.5943 MB / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.3936, allocations: 0 / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.3936, allocations: 0 / 0.666 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/0.3936, allocations: 3.938 kB / 0.666 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.3941, allocations: 143.8 kB / 0.6661 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.707e-05/0.3941, allocations: 13.52 kB / 0.6661 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.3942, allocations: 5.156 kB / 0.6661 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.3942, allocations: 3.125 kB / 0.6661 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.3943, allocations: 9.359 kB / 0.6661 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.3943, allocations: 0 / 0.6661 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000437/0.3947, allocations: 341.7 kB / 0.6665 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.3947, allocations: 3.984 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.3948, allocations: 2.781 kB / 0.6665 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.395, allocations: 144.6 kB / 0.6666 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.395, allocations: 0 / 0.6666 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.395, allocations: 1.188 kB / 0.6666 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.395, allocations: 0 / 0.6666 GB, free: 5.398 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.0002823/0.3953, allocations: 351.8 kB / 0.6669 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3953, allocations: 9.594 kB / 0.6669 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.279e-05/0.3954, allocations: 30.75 kB / 0.667 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.3954, allocations: 2.438 kB / 0.667 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.851e-05/0.3955, allocations: 165.7 kB / 0.6671 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3955, allocations: 4.312 kB / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-06/0.3955, allocations: 5.625 kB / 0.6671 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.154e-05/0.3956, allocations: 32.64 kB / 0.6672 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3956, allocations: 4 kB / 0.6672 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-06/0.3956, allocations: 0 / 0.6672 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3956, allocations: 1.312 kB / 0.6672 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.285e-05/0.3956, allocations: 6.625 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.864e-05/0.3957, allocations: 152.3 kB / 0.6673 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.3958, allocations: 23.83 kB / 0.6674 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.3958, allocations: 11.52 kB / 0.6674 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3958, allocations: 5.438 kB / 0.6674 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.3958, allocations: 38.55 kB / 0.6674 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3958, allocations: 0 / 0.6674 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001153/0.3959, allocations: 36.17 kB / 0.6674 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/0.396, allocations: 51.41 kB / 0.6675 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.396, allocations: 96.52 kB / 0.6676 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.396, allocations: 25.7 kB / 0.6676 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.187e-05/0.396, allocations: 89.88 kB / 0.6677 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.792e-05/0.3961, allocations: 9.312 kB / 0.6677 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.3961, allocations: 18.88 kB / 0.6677 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.621e-05/0.3961, allocations: 311.8 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.3961, allocations: 2.531 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.3962, allocations: 1.281 kB / 0.668 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.403e-05/0.3962, allocations: 13.95 kB / 0.668 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3962, allocations: 5.25 kB / 0.668 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.899e-05/0.3962, allocations: 46.06 kB / 0.6681 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3963, allocations: 7.375 kB / 0.6681 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.3963, allocations: 0 / 0.6681 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3963, allocations: 1.125 kB / 0.6681 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.3964, allocations: 11.23 kB / 0.6681 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002017/0.3966, allocations: 0.5825 MB / 0.6687 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.3967, allocations: 5.312 kB / 0.6687 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.3967, allocations: 7.938 kB / 0.6687 GB, free: 3.117 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 4.198e-05/0.3967, allocations: 109.8 kB / 0.6688 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-06/0.3967, allocations: 0 / 0.6688 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.327e-05/0.3968, allocations: 48.81 kB / 0.6688 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.3968, allocations: 1.375 kB / 0.6688 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3968, allocations: 3.938 kB / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3968, allocations: 0 / 0.6688 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.046e-05/0.3969, allocations: 157.8 kB / 0.669 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3969, allocations: 0 / 0.669 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.397, allocations: 11.53 kB / 0.669 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.397, allocations: 7.922 kB / 0.669 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.397, allocations: 5.156 kB / 0.669 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001636/0.3972, allocations: 0.5827 MB / 0.6696 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3972, allocations: 0 / 0.6696 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.996e-05/0.3972, allocations: 70.61 kB / 0.6696 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.698e-05/0.3972, allocations: 82.31 kB / 0.6697 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.117e-06/0.3973, allocations: 3.938 kB / 0.6697 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.406e-05/0.3973, allocations: 1.094 kB / 0.6697 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.3973, allocations: 1.469 kB / 0.6697 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3973, allocations: 0 / 0.6697 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.609e-05/0.3973, allocations: 80.81 kB / 0.6698 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3973, allocations: 0.7812 kB / 0.6698 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001906/0.3975, allocations: 10.97 kB / 0.6698 GB, free: 1.879 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.0002675/0.3978, allocations: 0.6178 MB / 0.6704 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.398, allocations: 20.08 kB / 0.6704 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.398, allocations: 1.438 kB / 0.6704 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.398, allocations: 17.8 kB / 0.6705 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.3982, allocations: 5.391 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.000383/0.3986, allocations: 136.1 kB / 0.6706 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.086e-05/0.3987, allocations: 0.6718 MB / 0.6713 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.504e-05/0.3987, allocations: 11.97 kB / 0.6713 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.07e-05/0.3987, allocations: 8.594 kB / 0.6713 GB, free: 384 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.3987, allocations: 0 / 0.6713 GB, free: 384 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01598/0.4147, allocations: 1.377 MB / 0.6726 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.33, allocations: 5.547 kB / 0.6726 GB, free: 15.66 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)