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.001109/0.001109, allocations: 171.9 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7474/0.7474, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.0009738/0.0009735, allocations: 97.94 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.633e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4442/0.4443, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.6185, allocations: 122.6 MB / 0.7536 GB, free: 12 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.6188, allocations: 88.02 kB / 0.7537 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03471/0.6536, allocations: 11.06 MB / 0.7645 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6536, allocations: 4 kB / 0.7645 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.438e-05/0.6537, allocations: 7.938 kB / 0.7645 GB, free: 4.836 MB / 0.5417 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.001144/0.6548, allocations: 0.5189 MB / 0.765 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.6549, allocations: 8.031 kB / 0.7651 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.6553, allocations: 63.48 kB / 0.7651 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.6567, allocations: 0.6167 MB / 0.7657 GB, free: 3.547 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6568, allocations: 4 kB / 0.7657 GB, free: 3.543 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.6568, allocations: 4 kB / 0.7657 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002345/0.657, allocations: 119.9 kB / 0.7658 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.6573, allocations: 127.5 kB / 0.766 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.6573, allocations: 0 / 0.766 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.6573, allocations: 3.953 kB / 0.766 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.6573, allocations: 4 kB / 0.766 GB, free: 3.285 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.6582, allocations: 468.9 kB / 0.7664 GB, free: 2.789 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.6584, allocations: 138.4 kB / 0.7666 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.6586, allocations: 60.83 kB / 0.7666 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.6586, allocations: 8.141 kB / 0.7666 GB, free: 2.574 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/0.6586, allocations: 34.56 kB / 0.7666 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.923e-06/0.6586, allocations: 4 kB / 0.7667 GB, free: 2.527 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0005212/0.6592, allocations: 185.3 kB / 0.7668 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.6592, allocations: 51.41 kB / 0.7669 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.6595, allocations: 265.2 kB / 0.7671 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.6596, allocations: 29.7 kB / 0.7672 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.6597, allocations: 152.3 kB / 0.7673 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.6597, allocations: 27.64 kB / 0.7673 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.29e-05/0.6598, allocations: 0 / 0.7673 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6599, allocations: 342.8 kB / 0.7677 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.6601, allocations: 63.97 kB / 0.7677 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.6602, allocations: 124.6 kB / 0.7678 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.6605, allocations: 103.8 kB / 0.7679 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6605, allocations: 0 / 0.7679 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005286/0.6611, allocations: 245.1 kB / 0.7682 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004016/0.6615, allocations: 0.7033 MB / 0.7689 GB, free: 136 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6615, allocations: 0 / 0.7689 GB, free: 136 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.6615, allocations: 4 kB / 0.7689 GB, free: 132 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.6618, allocations: 47.91 kB / 0.7689 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.6618, allocations: 11.95 kB / 0.7689 GB, free: 72 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.662, allocations: 27.73 kB / 0.7689 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.6621, allocations: 15.98 kB / 0.769 GB, free: 28 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.6621, allocations: 4 kB / 0.769 GB, free: 24 kB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004318/0.6625, allocations: 155.7 kB / 0.7691 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6625, allocations: 4.297 kB / 0.7691 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.92e-06/0.6626, allocations: 4 kB / 0.7691 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.6628, allocations: 51.91 kB / 0.7692 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.6628, allocations: 7.969 kB / 0.7692 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.663, allocations: 15.94 kB / 0.7692 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.663, allocations: 15.98 kB / 0.7692 GB, free: 15.77 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 () * 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.0001145/0.6631, allocations: 108.9 kB / 0.7693 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00027/0.6634, allocations: 137.2 kB / 0.7694 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.6634, allocations: 23.72 kB / 0.7695 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.6638, allocations: 156.2 kB / 0.7696 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6638, allocations: 0 / 0.7696 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6638, allocations: 0 / 0.7696 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6639, allocations: 4 kB / 0.7696 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.6642, allocations: 250 kB / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.6642, allocations: 4 kB / 0.7699 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.6643, allocations: 27.97 kB / 0.7699 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6643, allocations: 3.938 kB / 0.7699 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.6644, allocations: 0 / 0.7699 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6644, allocations: 0 / 0.7699 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.6644, allocations: 4 kB / 0.7699 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002934/0.6647, allocations: 235.1 kB / 0.7701 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.6648, allocations: 116.8 kB / 0.7702 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.6649, allocations: 0 / 0.7702 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.665, allocations: 15.92 kB / 0.7702 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.6651, allocations: 7.984 kB / 0.7703 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6651, allocations: 4 kB / 0.7703 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000211/0.6653, allocations: 208.6 kB / 0.7705 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6653, allocations: 0 / 0.7705 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000752/0.6661, allocations: 175.7 kB / 0.7706 GB, free: 14.23 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 () * 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.001347/0.6674, allocations: 1.04 MB / 0.7716 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.6679, allocations: 238.2 kB / 0.7719 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6679, allocations: 0 / 0.7719 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 7.235e-05/0.668, allocations: 47.92 kB / 0.7719 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.6684, allocations: 86.38 kB / 0.772 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.6695, allocations: 434.4 kB / 0.7724 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.6699, allocations: 0.7762 MB / 0.7732 GB, free: 11.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004779/0.6704, allocations: 126 kB / 0.7733 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.6706, allocations: 83.39 kB / 0.7734 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of SimCode: time 4.21e-07/0.6706, allocations: 0 / 0.7734 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.7049, allocations: 9.301 MB / 0.7824 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.7052, allocations: 146.9 kB / 0.7826 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.976, allocations: 0 / 0.7826 GB, free: 1.926 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)