Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.00102/0.001019, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001153/0.001153, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7576/0.7576, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 9.875 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4028, allocations: 81.57 MB / 0.5832 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.001986/0.4048, allocations: 1.685 MB / 0.5848 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.4076, allocations: 1.886 MB / 0.5866 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.4079, allocations: 6.531 kB / 0.5866 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.4085, allocations: 151.3 kB / 0.5868 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008241/0.4093, allocations: 248.3 kB / 0.587 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.4104, allocations: 381.4 kB / 0.5874 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008059/0.4112, allocations: 0.4884 MB / 0.5879 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.4113, allocations: 31.19 kB / 0.5879 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.4117, allocations: 149.3 kB / 0.588 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.412, allocations: 164.5 kB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.412, allocations: 6.875 kB / 0.5882 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.4127, allocations: 317.5 kB / 0.5885 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.4129, allocations: 83.94 kB / 0.5886 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.4129, allocations: 72.55 kB / 0.5887 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006416/0.4136, allocations: 411.1 kB / 0.589 GB, free: 468 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4136, allocations: 0 / 0.589 GB, free: 468 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4136, allocations: 0 / 0.589 GB, free: 468 kB / 430.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4136, allocations: 0 / 0.589 GB, free: 468 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009145/0.4146, allocations: 0.5623 MB / 0.5896 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4146, allocations: 13.41 kB / 0.5896 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.796e-05/0.4147, allocations: 43.48 kB / 0.5897 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003065/0.415, allocations: 52.55 kB / 0.5897 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004654/0.4154, allocations: 314.8 kB / 0.59 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4155, allocations: 7.75 kB / 0.59 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.4155, allocations: 11.25 kB / 0.59 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.4159, allocations: 159.6 kB / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4159, allocations: 0 / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.4159, allocations: 4.812 kB / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.4159, allocations: 2.25 kB / 0.5902 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.4163, allocations: 144.2 kB / 0.5903 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007894/0.4171, allocations: 0.4885 MB / 0.5908 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.4175, allocations: 137.7 kB / 0.5909 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.4177, allocations: 63.95 kB / 0.591 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4177, allocations: 5.5 kB / 0.591 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.4178, allocations: 35.31 kB / 0.591 GB, free: 15.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.4178, allocations: 1.219 kB / 0.591 GB, free: 15.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007206/0.4185, allocations: 246.6 kB / 0.5913 GB, free: 14.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.4185, allocations: 52.81 kB / 0.5913 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.419, allocations: 339.3 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.419, allocations: 30.64 kB / 0.5917 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4191, allocations: 150.2 kB / 0.5918 GB, free: 14.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.4192, allocations: 36.88 kB / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.4192, allocations: 4.656 kB / 0.5918 GB, free: 14.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4193, allocations: 339.4 kB / 0.5922 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.4195, allocations: 81.56 kB / 0.5922 GB, free: 14.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/0.4198, allocations: 138.9 kB / 0.5924 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002276/0.42, allocations: 90.81 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.42, allocations: 1.453 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005945/0.4206, allocations: 281.1 kB / 0.5927 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.53e-05/0.4207, allocations: 143.3 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4207, allocations: 0.9062 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4208, allocations: 4.094 kB / 0.5929 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.421, allocations: 57.12 kB / 0.5929 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.421, allocations: 2.875 kB / 0.5929 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.4212, allocations: 31.39 kB / 0.593 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.892e-05/0.4213, allocations: 17.09 kB / 0.593 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.4213, allocations: 4.25 kB / 0.593 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005516/0.4218, allocations: 249 kB / 0.5932 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4219, allocations: 1.844 kB / 0.5932 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.811e-06/0.4219, allocations: 2.688 kB / 0.5932 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4221, allocations: 50.62 kB / 0.5933 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.4221, allocations: 4.297 kB / 0.5933 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.4223, allocations: 25.17 kB / 0.5933 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.4223, allocations: 15.72 kB / 0.5933 GB, free: 13.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001933/0.4225, allocations: 231.1 kB / 0.5935 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.4226, allocations: 32.28 kB / 0.5936 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.4231, allocations: 211.4 kB / 0.5938 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4231, allocations: 5.609 kB / 0.5938 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.4231, allocations: 0 / 0.5938 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4231, allocations: 1.562 kB / 0.5938 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003317/0.4235, allocations: 277.5 kB / 0.594 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4235, allocations: 4.609 kB / 0.594 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.4236, allocations: 25.97 kB / 0.5941 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4236, allocations: 1.375 kB / 0.5941 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.4237, allocations: 6.781 kB / 0.5941 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4237, allocations: 1.375 kB / 0.5941 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4237, allocations: 4 kB / 0.5941 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004593/0.4241, allocations: 284.5 kB / 0.5944 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.4242, allocations: 118.7 kB / 0.5945 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.4243, allocations: 0.9844 kB / 0.5945 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4244, allocations: 10.84 kB / 0.5945 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.4245, allocations: 11.94 kB / 0.5945 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.385e-05/0.4245, allocations: 7.25 kB / 0.5945 GB, free: 12.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.4248, allocations: 235.1 kB / 0.5947 GB, free: 12.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4248, allocations: 1.344 kB / 0.5947 GB, free: 12.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006683/0.4255, allocations: 155.2 kB / 0.5949 GB, free: 12.62 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.4267, allocations: 0.9143 MB / 0.5958 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.4275, allocations: 315 kB / 0.5961 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4275, allocations: 0 / 0.5961 GB, free: 11.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.4277, allocations: 75.61 kB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.4283, allocations: 96.92 kB / 0.5962 GB, free: 11.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4314, allocations: 1.728 MB / 0.5979 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.4318, allocations: 0.7757 MB / 0.5987 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003129/0.4321, allocations: 72.16 kB / 0.5987 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.4323, allocations: 89.59 kB / 0.5988 GB, free: 10.01 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4323, allocations: 1.344 kB / 0.5988 GB, free: 10.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.4542, allocations: 8.961 MB / 0.6076 GB, free: 5.777 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.4544, allocations: 187.1 kB / 0.6078 GB, free: 5.543 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.333, allocations: 3.938 kB / 0.6078 GB, free: 5.539 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) Environment - environmentSimulation: