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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01623/0.01623, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.406/1.406, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.834/2.834, allocations: 223.1 MB / 406.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 89.58 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006854/0.0006854, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8964/0.8971, allocations: 82.31 MB / 0.6495 GB, free: 36.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.316/1.213, allocations: 123.3 MB / 0.77 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/1.214, allocations: 87.95 kB / 0.7701 GB, free: 8.484 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05243/1.266, allocations: 11.29 MB / 0.7811 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.696e-06/1.266, allocations: 4 kB / 0.7811 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.015e-05/1.266, allocations: 7.938 kB / 0.7811 GB, free: 13.15 MB / 0.5573 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.003218/1.27, allocations: 0.6696 MB / 0.7818 GB, free: 12.43 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 9.094e-05/1.27, allocations: 12.03 kB / 0.7818 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/1.27, allocations: 38.56 kB / 0.7818 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/1.27, allocations: 63.47 kB / 0.7819 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/1.273, allocations: 0.612 MB / 0.7825 GB, free: 11.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/1.274, allocations: 11.94 kB / 0.7825 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/1.274, allocations: 16 kB / 0.7825 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/1.274, allocations: 154.6 kB / 0.7826 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/1.274, allocations: 0 / 0.7826 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/1.274, allocations: 8 kB / 0.7826 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.274, allocations: 3.953 kB / 0.7826 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006382/1.275, allocations: 135.9 kB / 0.7828 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/1.277, allocations: 0.5003 MB / 0.7833 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/1.277, allocations: 126.5 kB / 0.7834 GB, free: 10.65 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.489e-05/1.277, allocations: 7.922 kB / 0.7834 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.277, allocations: 34.56 kB / 0.7834 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 6.101e-06/1.277, allocations: 0 / 0.7834 GB, free: 10.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.001154/1.278, allocations: 237.2 kB / 0.7836 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/1.279, allocations: 55.41 kB / 0.7837 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006873/1.279, allocations: 295.6 kB / 0.784 GB, free: 10 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/1.279, allocations: 25.86 kB / 0.784 GB, free: 9.969 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/1.28, allocations: 164 kB / 0.7842 GB, free: 9.805 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/1.28, allocations: 23.56 kB / 0.7842 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/1.28, allocations: 4 kB / 0.7842 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002473/1.28, allocations: 342.8 kB / 0.7845 GB, free: 9.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/1.28, allocations: 71.91 kB / 0.7846 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004166/1.281, allocations: 142.7 kB / 0.7847 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/1.281, allocations: 79.98 kB / 0.7848 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.281, allocations: 4 kB / 0.7848 GB, free: 9.113 MB / 0.5573 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001006/1.282, allocations: 257 kB / 0.785 GB, free: 8.855 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00095/1.283, allocations: 0.7006 MB / 0.7857 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/1.283, allocations: 0 / 0.7857 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/1.283, allocations: 7.953 kB / 0.7857 GB, free: 8.094 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003788/1.284, allocations: 55.89 kB / 0.7858 GB, free: 8.039 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/1.284, allocations: 4 kB / 0.7858 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/1.284, allocations: 35.73 kB / 0.7858 GB, free: 8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/1.284, allocations: 15.98 kB / 0.7858 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/1.284, allocations: 4 kB / 0.7859 GB, free: 7.98 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007648/1.285, allocations: 211.7 kB / 0.7861 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.285, allocations: 7.984 kB / 0.7861 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.683e-06/1.285, allocations: 0 / 0.7861 GB, free: 7.766 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/1.285, allocations: 52.12 kB / 0.7861 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.285, allocations: 3.938 kB / 0.7861 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/1.285, allocations: 23.83 kB / 0.7861 GB, free: 7.688 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/1.286, allocations: 19.94 kB / 0.7862 GB, free: 7.668 MB / 0.5573 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 (18): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003691/1.286, allocations: 233 kB / 0.7864 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-05/1.286, allocations: 23.72 kB / 0.7864 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008823/1.287, allocations: 208.2 kB / 0.7866 GB, free: 7.199 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/1.287, allocations: 4 kB / 0.7866 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.287, allocations: 0 / 0.7866 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.287, allocations: 3.938 kB / 0.7866 GB, free: 7.191 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/1.288, allocations: 273.4 kB / 0.7869 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.288, allocations: 0 / 0.7869 GB, free: 6.875 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002102/1.288, allocations: 27.97 kB / 0.7869 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.288, allocations: 0 / 0.7869 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/1.288, allocations: 12 kB / 0.7869 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/1.288, allocations: 0 / 0.7869 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.288, allocations: 0 / 0.7869 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/1.289, allocations: 283 kB / 0.7872 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/1.289, allocations: 112.8 kB / 0.7873 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/1.289, allocations: 0 / 0.7873 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/1.289, allocations: 11.98 kB / 0.7873 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/1.289, allocations: 8 kB / 0.7873 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/1.289, allocations: 7.984 kB / 0.7873 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004208/1.29, allocations: 231 kB / 0.7875 GB, free: 6.164 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.71e-07/1.29, allocations: 4 kB / 0.7875 GB, free: 6.16 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001487/1.291, allocations: 180 kB / 0.7877 GB, free: 5.984 MB / 0.5573 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002844/1.294, allocations: 1.108 MB / 0.7888 GB, free: 4.855 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001032/1.295, allocations: 296.1 kB / 0.7891 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.295, allocations: 0 / 0.7891 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001982/1.295, allocations: 63.95 kB / 0.7891 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/1.296, allocations: 85.69 kB / 0.7892 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/1.3, allocations: 1.935 MB / 0.7911 GB, free: 2.395 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007961/1.301, allocations: 0.7758 MB / 0.7919 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007028/1.302, allocations: 79.22 kB / 0.7919 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/1.302, allocations: 95.39 kB / 0.792 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of SimCode: time 2.825e-06/1.302, allocations: 0 / 0.792 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7626/2.065, allocations: 10.94 MB / 0.8027 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/2.065, allocations: 188 kB / 0.8029 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.125/6.191, allocations: 2.875 kB / 0.8029 GB, free: 131.1 MB / 0.5573 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/linux/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)