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.001011/0.001011, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008055/0.008056, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.374/1.374, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8583/0.8583, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002992, allocations: 9.438 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1354, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.001979/0.1375, allocations: 1.733 MB / 0.5898 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002868/0.1403, allocations: 2.007 MB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.1405, allocations: 4 kB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.1411, allocations: 251.1 kB / 0.592 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.1418, allocations: 263.2 kB / 0.5922 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.1426, allocations: 422.3 kB / 0.5926 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.1432, allocations: 0.5728 MB / 0.5932 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.1433, allocations: 44.59 kB / 0.5932 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.1435, allocations: 139.5 kB / 0.5934 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.1438, allocations: 175.3 kB / 0.5935 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1438, allocations: 8 kB / 0.5935 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006035/0.1444, allocations: 439.2 kB / 0.594 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.1445, allocations: 83.72 kB / 0.594 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1446, allocations: 133 kB / 0.5942 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006166/0.1453, allocations: 0.5726 MB / 0.5947 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1453, allocations: 0 / 0.5947 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1453, allocations: 0 / 0.5947 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1453, allocations: 0 / 0.5947 GB, free: 11.68 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.000736/0.146, allocations: 0.5567 MB / 0.5953 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1461, allocations: 11.97 kB / 0.5953 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.1461, allocations: 42.75 kB / 0.5953 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.1464, allocations: 52.52 kB / 0.5954 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1468, allocations: 320.4 kB / 0.5957 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1468, allocations: 12.12 kB / 0.5957 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1468, allocations: 12 kB / 0.5957 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/0.1472, allocations: 167.5 kB / 0.5959 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1472, allocations: 0 / 0.5959 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1472, allocations: 4 kB / 0.5959 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1472, allocations: 3.984 kB / 0.5959 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.1476, allocations: 143.9 kB / 0.596 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.1482, allocations: 488.3 kB / 0.5965 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.1486, allocations: 138.5 kB / 0.5966 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.1487, allocations: 68.81 kB / 0.5967 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1488, allocations: 4 kB / 0.5967 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1488, allocations: 34.56 kB / 0.5967 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.1488, allocations: 0 / 0.5967 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006473/0.1495, allocations: 261.3 kB / 0.597 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.1495, allocations: 51.41 kB / 0.597 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1498, allocations: 332.5 kB / 0.5973 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1498, allocations: 29.69 kB / 0.5973 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.387e-05/0.1499, allocations: 152 kB / 0.5975 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.15, allocations: 35.53 kB / 0.5975 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.15, allocations: 29.7 kB / 0.5976 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.1501, allocations: 338.8 kB / 0.5979 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1504, allocations: 115.9 kB / 0.598 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1506, allocations: 171.2 kB / 0.5982 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.1511, allocations: 282.6 kB / 0.5984 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1512, allocations: 0 / 0.5984 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005985/0.1518, allocations: 345.3 kB / 0.5988 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/0.1518, allocations: 150.8 kB / 0.5989 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1518, allocations: 0 / 0.5989 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1519, allocations: 4 kB / 0.5989 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.1521, allocations: 47.97 kB / 0.5989 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1521, allocations: 4 kB / 0.5989 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.1523, allocations: 35.61 kB / 0.599 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.1523, allocations: 19.98 kB / 0.599 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-06/0.1523, allocations: 4 kB / 0.599 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004972/0.1528, allocations: 243.9 kB / 0.5992 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1528, allocations: 4 kB / 0.5992 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.1528, allocations: 4 kB / 0.5992 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.153, allocations: 47.91 kB / 0.5993 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.153, allocations: 4 kB / 0.5993 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.1532, allocations: 31.77 kB / 0.5993 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1532, allocations: 12 kB / 0.5993 GB, free: 6.66 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.0001405/0.1534, allocations: 229 kB / 0.5996 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.1534, allocations: 27.62 kB / 0.5996 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004906/0.1539, allocations: 216.2 kB / 0.5998 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1539, allocations: 0 / 0.5998 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1539, allocations: 7.938 kB / 0.5998 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1539, allocations: 0 / 0.5998 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.1542, allocations: 273.5 kB / 0.6001 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1542, allocations: 4 kB / 0.6001 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.1543, allocations: 27.97 kB / 0.6001 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1544, allocations: 0 / 0.6001 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1544, allocations: 4 kB / 0.6001 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.1544, allocations: 3.938 kB / 0.6001 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1544, allocations: 3.938 kB / 0.6001 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.1548, allocations: 287.1 kB / 0.6004 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.1549, allocations: 116.8 kB / 0.6005 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.1549, allocations: 3.984 kB / 0.6005 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.1551, allocations: 19.94 kB / 0.6005 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.1551, allocations: 11.92 kB / 0.6005 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1552, allocations: 4 kB / 0.6005 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002049/0.1554, allocations: 243 kB / 0.6008 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1554, allocations: 0 / 0.6008 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005355/0.1559, allocations: 140 kB / 0.6009 GB, free: 4.961 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.0009035/0.1568, allocations: 0.9267 MB / 0.6018 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.1575, allocations: 336.4 kB / 0.6021 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1576, allocations: 0 / 0.6021 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.1577, allocations: 83.95 kB / 0.6022 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.1582, allocations: 100.9 kB / 0.6023 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.1618, allocations: 3.111 MB / 0.6053 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.218/0.3799, allocations: 0.7643 MB / 0.6061 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.3802, allocations: 79.39 kB / 0.6061 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.3804, allocations: 85.3 kB / 0.6062 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.3804, allocations: 0 / 0.6062 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1804/0.5608, allocations: 8.766 MB / 0.6148 GB, free: 47.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002214/0.5611, allocations: 211.7 kB / 0.615 GB, free: 47.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.399, allocations: 0 / 0.615 GB, free: 47.6 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)