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.0007698/0.0007698, 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.004687/0.004687, allocations: 171.9 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.307/1.307, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7561/0.7561, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 12.75 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3959, allocations: 81.57 MB / 0.5838 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00214/0.3981, allocations: 1.735 MB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.4011, allocations: 2.028 MB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.4012, allocations: 3.375 kB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007044/0.4019, allocations: 247.1 kB / 0.5877 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007063/0.4027, allocations: 260 kB / 0.5879 GB, free: 1.211 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009506/0.4036, allocations: 432.1 kB / 0.5883 GB, free: 1 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007555/0.4044, allocations: 0.5769 MB / 0.5889 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.4045, allocations: 34.42 kB / 0.5889 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.4047, allocations: 144.6 kB / 0.5891 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.405, allocations: 170.9 kB / 0.5892 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.4051, allocations: 7.438 kB / 0.5892 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.4058, allocations: 435 kB / 0.5896 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4059, allocations: 88.02 kB / 0.5897 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4061, allocations: 133.8 kB / 0.5899 GB, free: 432 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.4068, allocations: 0.5684 MB / 0.5904 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4068, allocations: 0 / 0.5904 GB, free: 248 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4068, allocations: 0 / 0.5904 GB, free: 248 kB / 430.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4068, allocations: 0 / 0.5904 GB, free: 248 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.0008144/0.4076, allocations: 0.5567 MB / 0.591 GB, free: 15.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.4077, allocations: 9.469 kB / 0.591 GB, free: 15.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.08e-05/0.4077, allocations: 43.72 kB / 0.591 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002904/0.408, allocations: 44.41 kB / 0.591 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.4085, allocations: 333 kB / 0.5914 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4085, allocations: 7.531 kB / 0.5914 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.4085, allocations: 12.09 kB / 0.5914 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004073/0.409, allocations: 163.4 kB / 0.5915 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.409, allocations: 0 / 0.5915 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.409, allocations: 0.75 kB / 0.5915 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.409, allocations: 3.125 kB / 0.5915 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.4094, allocations: 144.3 kB / 0.5917 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007645/0.4102, allocations: 491.5 kB / 0.5922 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.4106, allocations: 141.8 kB / 0.5923 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.4109, allocations: 67.83 kB / 0.5924 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.4109, allocations: 1.609 kB / 0.5924 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.4109, allocations: 36.95 kB / 0.5924 GB, free: 14.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.4109, allocations: 0 / 0.5924 GB, free: 14.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007456/0.4117, allocations: 259.8 kB / 0.5926 GB, free: 14.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4117, allocations: 52.62 kB / 0.5927 GB, free: 14.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.4121, allocations: 334.6 kB / 0.593 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.4122, allocations: 30.77 kB / 0.593 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.4123, allocations: 157 kB / 0.5932 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.4123, allocations: 34.25 kB / 0.5932 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.4124, allocations: 31.17 kB / 0.5932 GB, free: 14.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4125, allocations: 340.1 kB / 0.5936 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.4128, allocations: 109.4 kB / 0.5937 GB, free: 13.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.4131, allocations: 176 kB / 0.5938 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.4137, allocations: 285 kB / 0.5941 GB, free: 13.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.4137, allocations: 3.938 kB / 0.5941 GB, free: 13.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007088/0.4145, allocations: 339.9 kB / 0.5944 GB, free: 13.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/0.4145, allocations: 144.3 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4146, allocations: 2.594 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.4146, allocations: 2.25 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/0.4148, allocations: 49.25 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4148, allocations: 3.703 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.415, allocations: 31.73 kB / 0.5947 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.4151, allocations: 12.41 kB / 0.5947 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.713e-06/0.4151, allocations: 5.5 kB / 0.5947 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005741/0.4157, allocations: 257.4 kB / 0.5949 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4157, allocations: 8.469 kB / 0.5949 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/0.4157, allocations: 6.703 kB / 0.5949 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4159, allocations: 43.97 kB / 0.595 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4159, allocations: 4.453 kB / 0.595 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.4161, allocations: 33.41 kB / 0.595 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4161, allocations: 11.88 kB / 0.595 GB, free: 13.26 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.4163, allocations: 235 kB / 0.5953 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.4164, allocations: 26.41 kB / 0.5953 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.417, allocations: 208.9 kB / 0.5955 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.417, allocations: 2.562 kB / 0.5955 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.417, allocations: 3.938 kB / 0.5955 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.417, allocations: 1.172 kB / 0.5955 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.4173, allocations: 277.5 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4173, allocations: 4 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.4175, allocations: 27.62 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4175, allocations: 3.938 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4175, allocations: 2.891 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4175, allocations: 0.8438 kB / 0.5958 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4175, allocations: 5.344 kB / 0.5958 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.418, allocations: 292.3 kB / 0.5961 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.019e-05/0.4181, allocations: 107 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.4182, allocations: 9.281 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.4183, allocations: 14.72 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4184, allocations: 10.48 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.4184, allocations: 4.906 kB / 0.5962 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.4187, allocations: 245.3 kB / 0.5964 GB, free: 12.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4187, allocations: 0 / 0.5964 GB, free: 12.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006822/0.4194, allocations: 149.1 kB / 0.5966 GB, free: 12.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.4204, allocations: 0.9135 MB / 0.5975 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008558/0.4213, allocations: 340.5 kB / 0.5978 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4213, allocations: 0 / 0.5978 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.4215, allocations: 84.64 kB / 0.5979 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.4221, allocations: 90.56 kB / 0.598 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/0.4262, allocations: 3.11 MB / 0.601 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.4266, allocations: 0.7768 MB / 0.6018 GB, free: 8.336 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003131/0.4269, allocations: 76.78 kB / 0.6018 GB, free: 8.301 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4271, allocations: 90.58 kB / 0.6019 GB, free: 8.23 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4271, allocations: 0 / 0.6019 GB, free: 8.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.4538, allocations: 8.76 MB / 0.6105 GB, free: 4.105 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.454, allocations: 206.1 kB / 0.6107 GB, free: 3.855 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.484, allocations: 0 / 0.6107 GB, free: 3.855 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/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)