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.001465/0.001471, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9325/0.9325, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.58 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 80.93 MB / 0.5845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003317/0.1404, allocations: 2.019 MB / 0.5865 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003191/0.1436, allocations: 1.999 MB / 0.5884 GB, free: 376 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.1438, allocations: 7.938 kB / 0.5884 GB, free: 368 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008529/0.1447, allocations: 262.9 kB / 0.5887 GB, free: 104 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008175/0.1455, allocations: 291.2 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1466, allocations: 486.2 kB / 0.5894 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006108/0.1472, allocations: 462.8 kB / 0.5898 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1473, allocations: 40.33 kB / 0.5899 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.1476, allocations: 163.5 kB / 0.59 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.1479, allocations: 163.4 kB / 0.5902 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.148, allocations: 20 kB / 0.5902 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006935/0.1487, allocations: 443.2 kB / 0.5906 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1488, allocations: 103.7 kB / 0.5907 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1489, allocations: 115.3 kB / 0.5908 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007632/0.1497, allocations: 0.5688 MB / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1497, allocations: 0 / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1497, allocations: 0 / 0.5914 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1497, allocations: 0 / 0.5914 GB, free: 13.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008796/0.1506, allocations: 0.6033 MB / 0.592 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1506, allocations: 11.97 kB / 0.592 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.408e-05/0.1507, allocations: 42.73 kB / 0.592 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.151, allocations: 48.53 kB / 0.5921 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.1514, allocations: 332.3 kB / 0.5924 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1515, allocations: 12.12 kB / 0.5924 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1515, allocations: 16 kB / 0.5924 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.1519, allocations: 155.7 kB / 0.5926 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.1519, allocations: 3.938 kB / 0.5926 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1519, allocations: 4 kB / 0.5926 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1519, allocations: 4 kB / 0.5926 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.1523, allocations: 127.9 kB / 0.5927 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.153, allocations: 492.4 kB / 0.5932 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.1534, allocations: 130.5 kB / 0.5933 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1536, allocations: 68.81 kB / 0.5934 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.1536, allocations: 7.969 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1537, allocations: 34.56 kB / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1537, allocations: 0 / 0.5934 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0007011/0.1544, allocations: 233.4 kB / 0.5936 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.1544, allocations: 55.34 kB / 0.5937 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003221/0.1548, allocations: 340.4 kB / 0.594 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.1548, allocations: 25.7 kB / 0.594 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1549, allocations: 156 kB / 0.5942 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.1549, allocations: 27.55 kB / 0.5942 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.155, allocations: 53.7 kB / 0.5943 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1552, allocations: 342.7 kB / 0.5946 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.1554, allocations: 116.8 kB / 0.5947 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.1557, allocations: 165 kB / 0.5949 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.1563, allocations: 274.6 kB / 0.5951 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1563, allocations: 4 kB / 0.5951 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006687/0.1569, allocations: 333 kB / 0.5954 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.157, allocations: 4 kB / 0.5954 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.157, allocations: 4 kB / 0.5955 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.157, allocations: 3.938 kB / 0.5955 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1573, allocations: 51.91 kB / 0.5955 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.1573, allocations: 8.188 kB / 0.5955 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.1574, allocations: 23.84 kB / 0.5955 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.1575, allocations: 19.98 kB / 0.5956 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003077/0.1578, allocations: 204 kB / 0.5957 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002552/0.1581, allocations: 151.1 kB / 0.5959 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004617/0.1585, allocations: 238.1 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.643e-06/0.1585, allocations: 3.938 kB / 0.5961 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005806/0.1591, allocations: 289 kB / 0.5964 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.1592, allocations: 11.94 kB / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.1592, allocations: 0 / 0.5964 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.678e-06/0.1592, allocations: 4 kB / 0.5964 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1594, allocations: 51.84 kB / 0.5965 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1594, allocations: 7.984 kB / 0.5965 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1596, allocations: 20.06 kB / 0.5965 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1596, allocations: 11.98 kB / 0.5965 GB, free: 7.734 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 0.0001029/0.1597, allocations: 192.2 kB / 0.5967 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.1598, allocations: 23.72 kB / 0.5967 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005347/0.1603, allocations: 200.2 kB / 0.5969 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1603, allocations: 3.984 kB / 0.5969 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1603, allocations: 0 / 0.5969 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1603, allocations: 4 kB / 0.5969 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.1606, allocations: 273.5 kB / 0.5972 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1606, allocations: 0 / 0.5972 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.1608, allocations: 23.98 kB / 0.5972 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1608, allocations: 7.984 kB / 0.5972 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1608, allocations: 7.938 kB / 0.5972 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1608, allocations: 0 / 0.5972 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1608, allocations: 0 / 0.5972 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1613, allocations: 279 kB / 0.5975 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-05/0.1614, allocations: 112.8 kB / 0.5976 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1614, allocations: 7.875 kB / 0.5976 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.1616, allocations: 11.98 kB / 0.5976 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.1617, allocations: 8.172 kB / 0.5976 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1617, allocations: 4 kB / 0.5976 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002259/0.1619, allocations: 247 kB / 0.5978 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.862e-06/0.1619, allocations: 0 / 0.5978 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005514/0.1625, allocations: 143.9 kB / 0.598 GB, free: 6.109 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.001125/0.1636, allocations: 0.915 MB / 0.5989 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000813/0.1644, allocations: 328 kB / 0.5992 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1644, allocations: 0 / 0.5992 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.1646, allocations: 71.89 kB / 0.5993 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1652, allocations: 104.5 kB / 0.5994 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.169, allocations: 3.016 MB / 0.6023 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.1694, allocations: 0.7639 MB / 0.603 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.1696, allocations: 78.86 kB / 0.6031 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.1698, allocations: 91.41 kB / 0.6032 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1698, allocations: 0 / 0.6032 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2501/0.4199, allocations: 9.245 MB / 0.6122 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.525/7.945, allocations: 13.69 kB / 0.6123 GB, free: 51.76 MB / 0.4981 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)