Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_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.0009823/0.0009823, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7729/0.7729, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009116, allocations: 94.66 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.568e-05, allocations: 2.594 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1564, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6131/0.7696, allocations: 123.3 MB / 0.7609 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.7698, allocations: 92.09 kB / 0.761 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.8008, allocations: 11.27 MB / 0.772 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8008, allocations: 0 / 0.772 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.048e-05/0.8009, allocations: 15.88 kB / 0.772 GB, free: 21.18 MB / 0.5105 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.0008634/0.8017, allocations: 0.5333 MB / 0.7725 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.8018, allocations: 8.031 kB / 0.7725 GB, free: 20.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.04e-05/0.8019, allocations: 42.36 kB / 0.7726 GB, free: 20.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003068/0.8022, allocations: 51.55 kB / 0.7726 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.8033, allocations: 0.6139 MB / 0.7732 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.8034, allocations: 11.69 kB / 0.7732 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.8034, allocations: 15.11 kB / 0.7732 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.8037, allocations: 124.8 kB / 0.7734 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.8037, allocations: 3.984 kB / 0.7734 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.8037, allocations: 3.938 kB / 0.7734 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.8037, allocations: 11.95 kB / 0.7734 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.8039, allocations: 85.45 kB / 0.7735 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007702/0.8047, allocations: 0.4954 MB / 0.7739 GB, free: 19.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001702/0.8049, allocations: 103.2 kB / 0.774 GB, free: 19.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.8049, allocations: 41.55 kB / 0.7741 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.805, allocations: 4.141 kB / 0.7741 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.805, allocations: 30.56 kB / 0.7741 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.805, allocations: 0 / 0.7741 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0003037/0.8053, allocations: 144.6 kB / 0.7742 GB, free: 19.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.8054, allocations: 55.41 kB / 0.7743 GB, free: 18.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.8056, allocations: 294.7 kB / 0.7746 GB, free: 18.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.8057, allocations: 25.7 kB / 0.7746 GB, free: 18.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.8058, allocations: 157 kB / 0.7748 GB, free: 18.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.8058, allocations: 30.33 kB / 0.7748 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.8058, allocations: 0 / 0.7748 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.806, allocations: 343.8 kB / 0.7751 GB, free: 18.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.8061, allocations: 47.61 kB / 0.7752 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.8062, allocations: 115.1 kB / 0.7753 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.8063, allocations: 71.44 kB / 0.7753 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8063, allocations: 0 / 0.7753 GB, free: 18.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000296/0.8066, allocations: 208.6 kB / 0.7755 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003015/0.8069, allocations: 0.7035 MB / 0.7762 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8069, allocations: 3.938 kB / 0.7762 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.807, allocations: 7.953 kB / 0.7762 GB, free: 17.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.8072, allocations: 47.95 kB / 0.7763 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.8072, allocations: 4 kB / 0.7763 GB, free: 17.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.8074, allocations: 35.25 kB / 0.7763 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.8074, allocations: 14.75 kB / 0.7763 GB, free: 17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8075, allocations: 5.094 kB / 0.7763 GB, free: 17 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002597/0.8077, allocations: 171.2 kB / 0.7765 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.8077, allocations: 3.938 kB / 0.7765 GB, free: 16.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-06/0.8077, allocations: 4.219 kB / 0.7765 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.8079, allocations: 55.89 kB / 0.7766 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.8079, allocations: 0 / 0.7766 GB, free: 16.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.8081, allocations: 23.28 kB / 0.7766 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.8081, allocations: 19.98 kB / 0.7766 GB, free: 16.77 MB / 0.5105 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 9.302e-05/0.8082, allocations: 119.8 kB / 0.7767 GB, free: 16.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.8083, allocations: 27.62 kB / 0.7767 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.8086, allocations: 162.3 kB / 0.7769 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.8086, allocations: 0 / 0.7769 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8086, allocations: 0 / 0.7769 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8086, allocations: 0 / 0.7769 GB, free: 16.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.8089, allocations: 275.6 kB / 0.7772 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.8089, allocations: 4 kB / 0.7772 GB, free: 16.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.809, allocations: 27.97 kB / 0.7772 GB, free: 16.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.8091, allocations: 4 kB / 0.7772 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.8091, allocations: 0 / 0.7772 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8091, allocations: 0 / 0.7772 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.8091, allocations: 0 / 0.7772 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002245/0.8093, allocations: 240.1 kB / 0.7774 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.8094, allocations: 120.5 kB / 0.7775 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.8094, allocations: 0 / 0.7775 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.8096, allocations: 11.94 kB / 0.7775 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.8096, allocations: 7.984 kB / 0.7776 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.8097, allocations: 11.92 kB / 0.7776 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000208/0.8099, allocations: 231.9 kB / 0.7778 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8099, allocations: 3.938 kB / 0.7778 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007045/0.8106, allocations: 177.1 kB / 0.778 GB, free: 15.45 MB / 0.5105 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.001063/0.8117, allocations: 1.072 MB / 0.779 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003587/0.812, allocations: 230.6 kB / 0.7792 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.812, allocations: 0 / 0.7792 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/0.8121, allocations: 46.8 kB / 0.7793 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.8125, allocations: 91.34 kB / 0.7794 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007443/0.8133, allocations: 440.2 kB / 0.7798 GB, free: 13.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.8137, allocations: 0.7719 MB / 0.7805 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003838/0.8141, allocations: 126.9 kB / 0.7807 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.8142, allocations: 89.12 kB / 0.7807 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.412e-06/0.8142, allocations: 0 / 0.7807 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.8409, allocations: 11.77 MB / 0.7922 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.8412, allocations: 168 kB / 0.7924 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.177, allocations: 0 / 0.7924 GB, free: 0.957 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)