Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_dev_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.007478/0.007478, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001909/0.001909, allocations: 194.2 kB / 16.68 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7929/0.7929, allocations: 135.6 MB / 426.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 68.02 kB / 0.5857 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1308, allocations: 81.03 MB / 0.6649 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002998/0.1338, allocations: 2.026 MB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002953/0.1368, allocations: 2.012 MB / 0.6688 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1369, allocations: 4 kB / 0.6688 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.1376, allocations: 254.9 kB / 0.6691 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006454/0.1382, allocations: 291 kB / 0.6693 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008325/0.1391, allocations: 494.1 kB / 0.6698 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.1397, allocations: 458.8 kB / 0.6702 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1398, allocations: 48.31 kB / 0.6703 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.14, allocations: 159.6 kB / 0.6704 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.1403, allocations: 167.4 kB / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1403, allocations: 12 kB / 0.6706 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006365/0.141, allocations: 459 kB / 0.671 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.1411, allocations: 99.77 kB / 0.6711 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1412, allocations: 115.3 kB / 0.6712 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007293/0.1419, allocations: 0.5878 MB / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.142, allocations: 0 / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.142, allocations: 0 / 0.6718 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.142, allocations: 0 / 0.6718 GB, free: 14.5 MB / 0.5137 GB 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.0008761/0.1429, allocations: 0.6067 MB / 0.6724 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1429, allocations: 13.11 kB / 0.6724 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.143, allocations: 38.73 kB / 0.6725 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.1432, allocations: 48.72 kB / 0.6725 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004861/0.1437, allocations: 340.5 kB / 0.6728 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.1438, allocations: 11.94 kB / 0.6728 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1438, allocations: 12 kB / 0.6729 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.1441, allocations: 153.5 kB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.1442, allocations: 0 / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.1442, allocations: 7.984 kB / 0.673 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1442, allocations: 4 kB / 0.673 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003675/0.1446, allocations: 127.9 kB / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006969/0.1453, allocations: 0.4923 MB / 0.6736 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.1456, allocations: 130.5 kB / 0.6737 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.1458, allocations: 68.81 kB / 0.6738 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.1459, allocations: 0 / 0.6738 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1459, allocations: 34.56 kB / 0.6738 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.1459, allocations: 0 / 0.6738 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006854/0.1466, allocations: 237.5 kB / 0.6741 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/0.1466, allocations: 51.41 kB / 0.6741 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003438/0.147, allocations: 340.4 kB / 0.6744 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.147, allocations: 25.7 kB / 0.6745 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1471, allocations: 152.1 kB / 0.6746 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.1472, allocations: 31.73 kB / 0.6746 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.06e-05/0.1473, allocations: 53.67 kB / 0.6747 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1474, allocations: 342.8 kB / 0.675 GB, free: 11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1477, allocations: 116.8 kB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.148, allocations: 161.4 kB / 0.6753 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005394/0.1486, allocations: 278.6 kB / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1486, allocations: 0 / 0.6756 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006643/0.1492, allocations: 341.3 kB / 0.6759 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1493, allocations: 11.94 kB / 0.6759 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1493, allocations: 3.938 kB / 0.6759 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1493, allocations: 4 kB / 0.6759 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.1495, allocations: 51.95 kB / 0.6759 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.1496, allocations: 3.984 kB / 0.6759 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.1497, allocations: 35.86 kB / 0.676 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.1498, allocations: 12 kB / 0.676 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003209/0.1501, allocations: 212 kB / 0.6762 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002548/0.1504, allocations: 142.8 kB / 0.6763 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004747/0.1508, allocations: 242.1 kB / 0.6766 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.1508, allocations: 0 / 0.6766 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005927/0.1514, allocations: 285.5 kB / 0.6768 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1515, allocations: 11.94 kB / 0.6768 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1515, allocations: 3.984 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1515, allocations: 7.938 kB / 0.6769 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/0.1517, allocations: 47.91 kB / 0.6769 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1517, allocations: 4 kB / 0.6769 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.1518, allocations: 15.94 kB / 0.6769 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1519, allocations: 12 kB / 0.6769 GB, free: 8.922 MB / 0.5137 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 0.000135/0.152, allocations: 196.1 kB / 0.6771 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.1521, allocations: 27.81 kB / 0.6771 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005279/0.1526, allocations: 204.2 kB / 0.6773 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1526, allocations: 0 / 0.6773 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1526, allocations: 0 / 0.6773 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1526, allocations: 0 / 0.6773 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.1529, allocations: 273.5 kB / 0.6776 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.153, allocations: 0 / 0.6776 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1531, allocations: 27.97 kB / 0.6776 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1531, allocations: 0 / 0.6776 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1531, allocations: 3.938 kB / 0.6776 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1531, allocations: 4 kB / 0.6776 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1531, allocations: 4 kB / 0.6776 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.1536, allocations: 283.2 kB / 0.6779 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.1537, allocations: 108.9 kB / 0.678 GB, free: 7.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.409e-05/0.1538, allocations: 7.922 kB / 0.678 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1539, allocations: 12 kB / 0.678 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.154, allocations: 11.92 kB / 0.678 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.154, allocations: 8 kB / 0.6781 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002472/0.1542, allocations: 247 kB / 0.6783 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1543, allocations: 0 / 0.6783 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005316/0.1548, allocations: 143.7 kB / 0.6784 GB, free: 7.293 MB / 0.5137 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.001079/0.1559, allocations: 0.9227 MB / 0.6793 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.1567, allocations: 320.4 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1567, allocations: 4.062 kB / 0.6796 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.1569, allocations: 71.89 kB / 0.6797 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004878/0.1574, allocations: 103 kB / 0.6798 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.1614, allocations: 3.02 MB / 0.6828 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1618, allocations: 0.7717 MB / 0.6835 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002351/0.162, allocations: 78.86 kB / 0.6836 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1622, allocations: 87.41 kB / 0.6837 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1622, allocations: 0 / 0.6837 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.82/1.982, allocations: 9.306 MB / 0.6928 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.689/11.67, allocations: 8.047 kB / 0.6928 GB, free: 8.617 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)