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.001179/0.001179, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001223/0.001223, allocations: 195.8 kB / 16.14 MB, free: 6.688 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.179/1.179, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8065/0.8065, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 72.72 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002832/0.1274, allocations: 2.08 MB / 0.5858 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002709/0.1301, allocations: 2.046 MB / 0.5878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1302, allocations: 7.938 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006062/0.1309, allocations: 251.1 kB / 0.5881 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.1314, allocations: 258.3 kB / 0.5883 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.1321, allocations: 415.3 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.1327, allocations: 0.5728 MB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.912e-05/0.1328, allocations: 52.58 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.133, allocations: 147.4 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.1332, allocations: 179.4 kB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1332, allocations: 8 kB / 0.5897 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005818/0.1338, allocations: 435.2 kB / 0.5901 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/0.1339, allocations: 83.77 kB / 0.5902 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.134, allocations: 119.2 kB / 0.5903 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005734/0.1346, allocations: 0.561 MB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1346, allocations: 3.938 kB / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.71e-07/0.1346, allocations: 0 / 0.5908 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1346, allocations: 0 / 0.5908 GB, free: 13.7 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.0008081/0.1354, allocations: 0.5956 MB / 0.5914 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1355, allocations: 8.031 kB / 0.5914 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1355, allocations: 46.73 kB / 0.5915 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.1358, allocations: 48.53 kB / 0.5915 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.1362, allocations: 332.2 kB / 0.5918 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1363, allocations: 20.11 kB / 0.5918 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1363, allocations: 12 kB / 0.5919 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1366, allocations: 145.6 kB / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1366, allocations: 0 / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1367, allocations: 4 kB / 0.592 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1367, allocations: 4 kB / 0.592 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000365/0.137, allocations: 123.9 kB / 0.5921 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1377, allocations: 0.4886 MB / 0.5926 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/0.138, allocations: 130.5 kB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.1382, allocations: 60.81 kB / 0.5928 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.1383, allocations: 7.984 kB / 0.5928 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1383, allocations: 38.69 kB / 0.5928 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.1383, allocations: 0 / 0.5928 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006545/0.139, allocations: 241.1 kB / 0.5931 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.139, allocations: 51.41 kB / 0.5931 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.1393, allocations: 340.4 kB / 0.5934 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1393, allocations: 25.7 kB / 0.5934 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.298e-05/0.1394, allocations: 152.1 kB / 0.5936 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1395, allocations: 35.55 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.1396, allocations: 49.7 kB / 0.5937 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1397, allocations: 334.8 kB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1399, allocations: 112.8 kB / 0.5941 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.1402, allocations: 170.7 kB / 0.5943 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004953/0.1407, allocations: 270.6 kB / 0.5945 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1407, allocations: 3.938 kB / 0.5945 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006209/0.1414, allocations: 349 kB / 0.5949 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1414, allocations: 4 kB / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1414, allocations: 0 / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1414, allocations: 7.938 kB / 0.5949 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1417, allocations: 48.19 kB / 0.5949 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1417, allocations: 3.938 kB / 0.5949 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.1418, allocations: 31.77 kB / 0.595 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1419, allocations: 11.98 kB / 0.595 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002925/0.1422, allocations: 208.1 kB / 0.5952 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00024/0.1424, allocations: 149 kB / 0.5953 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004254/0.1429, allocations: 238.1 kB / 0.5955 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.1429, allocations: 0 / 0.5955 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005502/0.1434, allocations: 293 kB / 0.5958 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.1434, allocations: 8 kB / 0.5958 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.1434, allocations: 0 / 0.5958 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-06/0.1435, allocations: 4 kB / 0.5958 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1436, allocations: 43.91 kB / 0.5959 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1437, allocations: 4.219 kB / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.1438, allocations: 23.83 kB / 0.5959 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1438, allocations: 27.84 kB / 0.5959 GB, free: 8.152 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 8.853e-05/0.1439, allocations: 184.3 kB / 0.5961 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.144, allocations: 23.72 kB / 0.5961 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.1445, allocations: 208.5 kB / 0.5963 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1445, allocations: 0 / 0.5963 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1445, allocations: 0 / 0.5963 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1445, allocations: 0 / 0.5963 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1448, allocations: 273.4 kB / 0.5966 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1448, allocations: 0 / 0.5966 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.1449, allocations: 35.92 kB / 0.5966 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1449, allocations: 0 / 0.5966 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.145, allocations: 3.938 kB / 0.5966 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.145, allocations: 4 kB / 0.5966 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.145, allocations: 3.984 kB / 0.5966 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004243/0.1454, allocations: 279 kB / 0.5969 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.1455, allocations: 112.8 kB / 0.597 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/0.1455, allocations: 3.938 kB / 0.597 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1457, allocations: 7.984 kB / 0.597 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.1457, allocations: 11.98 kB / 0.597 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1457, allocations: 8 kB / 0.597 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002104/0.146, allocations: 239 kB / 0.5973 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.146, allocations: 4 kB / 0.5973 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005022/0.1465, allocations: 144 kB / 0.5974 GB, free: 6.531 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.0009429/0.1474, allocations: 0.9074 MB / 0.5983 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.1482, allocations: 339.7 kB / 0.5986 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1482, allocations: 0 / 0.5986 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1484, allocations: 67.89 kB / 0.5987 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.1488, allocations: 90.17 kB / 0.5988 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.1525, allocations: 3.059 MB / 0.6017 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.1527, allocations: 0.7719 MB / 0.6025 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.153, allocations: 74.94 kB / 0.6026 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.1532, allocations: 91.39 kB / 0.6027 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1532, allocations: 0 / 0.6027 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.691/1.844, allocations: 8.867 MB / 0.6113 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/1.844, allocations: 210.8 kB / 0.6115 GB, free: 51.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/4.375, allocations: 0 / 0.6115 GB, free: 51.11 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)