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.0009505/0.0009505, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.0009629/0.0009632, allocations: 199.1 kB / 16.26 MB, free: 6.621 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.232/1.232, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7035/0.7035, allocations: 132.2 MB / 422.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001107/0.001107, allocations: 58.66 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 80.2 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003243/0.1362, allocations: 2.092 MB / 0.5817 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002928/0.1392, allocations: 2 MB / 0.5837 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.1394, allocations: 7.938 kB / 0.5837 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000734/0.1402, allocations: 251.1 kB / 0.5839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007383/0.1409, allocations: 273.3 kB / 0.5842 GB, free: 4.402 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009145/0.1419, allocations: 439.6 kB / 0.5846 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005842/0.1425, allocations: 466.8 kB / 0.585 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1426, allocations: 40.33 kB / 0.5851 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.1428, allocations: 171.4 kB / 0.5852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002475/0.1431, allocations: 183.4 kB / 0.5854 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.1431, allocations: 12 kB / 0.5854 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006113/0.1437, allocations: 443.2 kB / 0.5859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1438, allocations: 99.69 kB / 0.586 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1439, allocations: 111.4 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.1446, allocations: 0.5804 MB / 0.5866 GB, free: 1.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1446, allocations: 0 / 0.5866 GB, free: 1.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1446, allocations: 4 kB / 0.5866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.1447, allocations: 0 / 0.5866 GB, free: 1.887 MB / 494.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.0008789/0.1455, allocations: 0.5994 MB / 0.5872 GB, free: 1.238 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1456, allocations: 8.031 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.1456, allocations: 42.73 kB / 0.5873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002963/0.1459, allocations: 52.53 kB / 0.5873 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.1464, allocations: 328.3 kB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.1464, allocations: 16.06 kB / 0.5876 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1464, allocations: 15.98 kB / 0.5877 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003364/0.1468, allocations: 145.6 kB / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1468, allocations: 0 / 0.5878 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.1468, allocations: 7.984 kB / 0.5878 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1468, allocations: 8 kB / 0.5878 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.1472, allocations: 123.9 kB / 0.5879 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006762/0.1479, allocations: 492.4 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1482, allocations: 138.5 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.1484, allocations: 60.83 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.1484, allocations: 3.984 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.1484, allocations: 42.73 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.1485, allocations: 3.938 kB / 0.5886 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006572/0.1491, allocations: 233.1 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1492, allocations: 55.34 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.1495, allocations: 344.4 kB / 0.5892 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.1495, allocations: 25.7 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1496, allocations: 156 kB / 0.5894 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1496, allocations: 31.55 kB / 0.5894 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.1497, allocations: 49.7 kB / 0.5895 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1498, allocations: 338.8 kB / 0.5898 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.1501, allocations: 120.8 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.1504, allocations: 160.8 kB / 0.5901 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.1509, allocations: 285.1 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1509, allocations: 4 kB / 0.5904 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006058/0.1515, allocations: 325.1 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1515, allocations: 4.219 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1515, allocations: 8 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.1515, allocations: 3.938 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1518, allocations: 47.97 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1518, allocations: 3.938 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.152, allocations: 27.73 kB / 0.5908 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.152, allocations: 11.98 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002812/0.1523, allocations: 212 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002331/0.1525, allocations: 138.8 kB / 0.5911 GB, free: 13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000429/0.153, allocations: 242.6 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.153, allocations: 4 kB / 0.5913 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005311/0.1535, allocations: 285.8 kB / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1535, allocations: 10.19 kB / 0.5916 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.1536, allocations: 4.156 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-06/0.1536, allocations: 8 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.1538, allocations: 43.91 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1538, allocations: 4 kB / 0.5917 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1539, allocations: 23.83 kB / 0.5917 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.154, allocations: 11.98 kB / 0.5917 GB, free: 12.34 MB / 0.4981 GB 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 9.66e-05/0.1541, allocations: 188.2 kB / 0.5919 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1541, allocations: 24.09 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.1546, allocations: 212 kB / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1546, allocations: 0 / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1546, allocations: 0 / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1546, allocations: 7.984 kB / 0.5921 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.1549, allocations: 269.5 kB / 0.5924 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1549, allocations: 0 / 0.5924 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.1551, allocations: 23.98 kB / 0.5924 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1551, allocations: 0 / 0.5924 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1551, allocations: 11.86 kB / 0.5924 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.1551, allocations: 11.98 kB / 0.5924 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1551, allocations: 0 / 0.5924 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.1555, allocations: 275.1 kB / 0.5927 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.1556, allocations: 120.6 kB / 0.5928 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.1557, allocations: 3.938 kB / 0.5928 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1558, allocations: 11.98 kB / 0.5928 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1559, allocations: 7.984 kB / 0.5928 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.1559, allocations: 8 kB / 0.5928 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002088/0.1561, allocations: 243 kB / 0.5931 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1561, allocations: 0 / 0.5931 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005315/0.1567, allocations: 140 kB / 0.5932 GB, free: 10.72 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 (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.000997/0.1577, allocations: 0.9152 MB / 0.5941 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007279/0.1584, allocations: 331.5 kB / 0.5944 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1584, allocations: 3.938 kB / 0.5944 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.1586, allocations: 72.83 kB / 0.5945 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.1591, allocations: 100 kB / 0.5946 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/0.1627, allocations: 3.063 MB / 0.5976 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.163, allocations: 0.7755 MB / 0.5983 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000276/0.1633, allocations: 78.91 kB / 0.5984 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.1635, allocations: 87.41 kB / 0.5985 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1635, allocations: 3.938 kB / 0.5985 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.218/0.3815, allocations: 9.085 MB / 0.6074 GB, free: 54.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001173/0.3816, allocations: 211.2 kB / 0.6076 GB, free: 54.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.244, allocations: 0 / 0.6076 GB, free: 54.72 MB / 0.4981 GB (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)